Skip to content

Project to work with service orders from a cel phone store made with: Java, JSF, Hibernate, EJB, Jboss AS 7 and PostgreSQL

Notifications You must be signed in to change notification settings

CodeShareEducation/java-service-order

Repository files navigation

Service Order

Project to work with service orders from a mobile phone store made with: Java, JSF, CDI, Hibernate, Rest, EJB, Jboss and PostgreSQL, and take care with I18N. The languages available are English and Portuguese. Furthermore, we have another module, service-order-angular, this module is a only front-end module that consumes rest service from service-order project. It is build with angular and bootstrap and use some tools as bower and npm.

How to install

  1. What do you need?
  • Jboss Wildfly 8.1.0.Final
  • PostgreSQL 9.4
  • JDK 1.8
  • Maven
  • NodeJS
  • Git
  • NPM
  • Bower
  1. First you have to config your environment, to do this you can follow this instructions).

Back-end

  1. You'll need set the correct username and password of you database to the default value of application (username=postgres, password=postgres), or change them in the service-order-ds.xml file (it's into service-order/service-order-ear/src/main/application/META-INF).

  2. Create a new database with serviceOrder name. You dont't have to worry about creating tables, because in first time that the application starts, it is going to create for us.

  3. Import the project to your IDE (IntelliJ, Eclipse, Netbeans).

  4. Config JBoss Server in the IDE.

  5. Add the project to the server.

  6. Start the server.

  7. Open the browser and acess the adress link

Front-end (Angular)

  1. Go into the service-order-angular folder, and run bower install command to download all the css and angular dependencies. After that, execute npm install to install all npm package that are necessary to the project. Finally, type gulp watch, a browser window will be open with the project, be sure that wildfly server is running, because this module needs to consume rest servive from the service-order project.

About

Project to work with service orders from a cel phone store made with: Java, JSF, Hibernate, EJB, Jboss AS 7 and PostgreSQL

Resources

Stars

Watchers

Forks

Packages

No packages published