{"id":23072268,"url":"https://github.com/sanogotech/helloear","last_synced_at":"2025-04-03T10:43:17.192Z","repository":{"id":91003915,"uuid":"222445145","full_name":"sanogotech/helloear","owner":"sanogotech","description":"Sample EAR JEE","archived":false,"fork":false,"pushed_at":"2023-03-13T12:02:51.000Z","size":2634,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T00:17:10.196Z","etag":null,"topics":["java","javaee","jboss","web","wildfly"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanogotech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-18T12:34:36.000Z","updated_at":"2023-03-15T07:24:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"267d4876-88ea-4e98-b836-d2d904f39822","html_url":"https://github.com/sanogotech/helloear","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fhelloear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fhelloear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fhelloear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanogotech%2Fhelloear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanogotech","download_url":"https://codeload.github.com/sanogotech/helloear/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246989505,"owners_count":20865305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","javaee","jboss","web","wildfly"],"created_at":"2024-12-16T07:19:24.436Z","updated_at":"2025-04-03T10:43:17.174Z","avatar_url":"https://github.com/sanogotech.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"HelloWorld: Example Using Multiple Java EE 7 Technologies Deployed as an EAR\n==============================================================================================\nAuthor: Pete Muir\nLevel: Intermediate\nTechnologies: EAR, JPA\nSummary: Based on kitchensink, but deployed as an EAR\nTarget Project: WildFly\nSource: \u003chttps://github.com/wildfly/quickstart/\u003e\n\nWhat is it?\n-----------\n\nThis is your project! It is a sample, deployable Maven 3 project to help you get your foot in the door developing with Java EE 7 on JBoss WildFly.\n\nThis project is setup to allow you to create a compliant Java EE 7 application using JSF 2.2, CDI 1.1, EJB 3.2, JPA 2.1 and Bean Validation 1.1. It includes a persistence unit and some sample persistence and transaction code to introduce you to database access in enterprise Java.\n\nSystem requirements\n-------------------\n\nAll you need to build this project is Java 7.0 (Java SDK 1.7) or better, Maven 3.1 or better.\n\nThe application this project produces is designed to be run on JBoss WildFly.\n\n \nConfigure Maven\n---------------\n\nIf you have not yet done so, you must [Configure Maven](https://github.com/jboss-developer/jboss-developer-shared-resources/blob/master/guides/CONFIGURE_MAVEN.md) before testing the quickstarts.\n\n\nStart JBoss WildFly with the Web Profile\n-------------------------\n\n1. Open a command line and navigate to the root of the JBoss server directory.\n2. The following shows the command line to start the server with the web profile:\n\n        For Linux:   JBOSS_HOME/bin/standalone.sh\n        For Windows: JBOSS_HOME\\bin\\standalone.bat\n\n \nBuild and Deploy the Quickstart\n-------------------------\n\n_NOTE: The following build command assumes you have configured your Maven user settings. If you have not, you must include Maven setting arguments on the command line. See [Build and Deploy the Quickstarts](https://github.com/jboss-developer/jboss-eap-quickstarts#build-and-deploy-the-quickstarts) for complete instructions and additional options._\n\n1. Make sure you have started the JBoss Server as described above.\n2. Open a command line and navigate to the root directory of this quickstart.\n3. Type this command to build and deploy the archive:\n-------------------\n\t\tjboss-cli\n\t\tconnect \n\t\tdeploy  appp.ear\n\t\t\n\t\t-----\n        mvn clean package wildfly:deploy\n\n4. This will deploy `target/HelloWorld.ear` to the running instance of the server.\n\n\nAccess the application \n---------------------\n\nThe application will be running at the following URL: \u003chttp://localhost:8080/HelloWorld-web\u003e.\n\nhttp://localhost:8080/HelloWorld-web/index.jsf\n\n1. Enter a name, email address, and Phone nubmer in the input field and click the _Register_ button.\n2. If the data entered is valid, the new member will be registered and added to the _Members_ display list.\n3. If the data is not valid, you must fix the validation errors and try again.\n4. When the registration is successful, you will see a log message in the server console:\n\n        Registering _the_name_you_entered_\n\n\nUndeploy the Archive\n--------------------\n\n1. Make sure you have started the JBoss Server as described above.\n2. Open a command line and navigate to the root directory of this quickstart.\n3. When you are finished testing, type this command to undeploy the archive:\n\n        mvn wildfly:undeploy\n\n\nRun the Arquillian Tests \n-------------------------\n\nThis quickstart provides Arquillian tests. By default, these tests are configured to be skipped as Arquillian tests require the use of a container. \n\n_NOTE: The following commands assume you have configured your Maven user settings. If you have not, you must include Maven setting arguments on the command line. See [Run the Arquillian Tests](https://github.com/jboss-developer/jboss-developer-shared-resources/blob/master/guides/RUN_ARQUILLIAN_TESTS.md) for complete instructions and additional options._\n\n1. Make sure you have started the JBoss Server as described above.\n2. Open a command line and navigate to the root directory of this quickstart.\n3. Type the following command to run the test goal with the following profile activated:\n\n        mvn clean test -Parq-wildfly-remote\n\n\nInvestigate the Console Output\n---------------------\nYou should see the following console output when you run the tests:\n\n    Results :\n    Tests run: 1, Failures: 0, Errors: 0, Skipped: 0\n\n\nInvestigate the Server Console Output\n---------------------\nYou should see messages similar to the following:\n\n    INFO  [org.jboss.as.server] (management-handler-thread - 9) JBAS018559: Deployed \"test.war\"\n    INFO  [it.fixx.helloworld.controller.MemberRegistration] (http--127.0.0.1-8080-2) Registering Jane Doe\n    INFO  [it.fixx.helloworld.test.MemberRegistrationTest] (http--127.0.0.1-8080-2) Jane Doe was persisted with id 1\n    INFO  [org.jboss.weld.deployer] (MSC service thread 1-6) JBAS016009: Stopping weld service for deployment test.war\n    INFO  [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011403: Stopping Persistence Unit Service 'test.war#primary'\n    INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-1) HHH000227: Running hbm2ddl schema export\n    INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (MSC service thread 1-1) HHH000230: Schema export complete\n    INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010409: Unbound data source [jboss/datasources/HelloWorldTestDS]\n    INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015877: Stopped deployment test.war in 19ms\n    INFO  [org.jboss.as.server] (management-handler-thread - 10) JBAS018558: Undeployed \"test.war\"\n\n\nRun the Quickstart in JBoss Developer Studio or Eclipse\n-------------------------------------\nYou can also start the server and deploy the quickstarts from Eclipse using JBoss tools. For more information, see [Use JBoss Developer Studio or Eclipse to Run the Quickstarts](https://github.com/jboss-developer/jboss-developer-shared-resources/blob/master/guides/USE_JBDS.md) \n\n\nDebug the Application\n---------------------\n\nIf you want to debug the source code or look at the Javadocs of any library in the project, run either of the following commands to pull them into your local repository. The IDE should then detect them.\n\n        mvn dependency:sources\n        mvn dependency:resolve -Dclassifier=javadoc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanogotech%2Fhelloear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanogotech%2Fhelloear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanogotech%2Fhelloear/lists"}