GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - comdotlinux/TasteOfJavaEE7: A Simple Java EE 7 Application

BranchesTags
Open more actions menu

Latest commit

 

History

164 Commits
164 Commits

Folders and files

NameName
Last commit message
Last commit date
movieInfo-it
movieInfo-it
 
 
movieInfo
movieInfo
 
 
sakila
sakila
 
 
.gitignore
.gitignore
 
 
Jenkinsfile
Jenkinsfile
 
 
README.md
README.md
 
 

Repository files navigation

A Java EE 7 Project which uses the sakila database from Postgres Migrated to Mysql.

The Aim is to learn and document the Java EE implementation as I am learning it from java champion Adam Bien.

The Code is kept as neat as possible and done all in netbeans just to have a feel of the IDE.

For running the project in Docker.

  1. Get the project in you local system and (of course) docker should be up and running.
  2. Create somewhere a directory for storing the mysql database data. and update in movie-info/docker-compose.yml
    • The section is sakila: >> volumes: >> path before ":/var/lib/mysql"
    • Also update the location of mysql-sakila.sql (should be in the TasteOfJavaEE7/sakila directory)
  3. Add the MYSQL_ROOT_PASSWORD, MYSQL_USER, MYSQL_PASSWORD to the sakila and phpmyadmin sections.
  4. goto movieInfo directory and Edit the Dockerfile
    • Add the values of MYSQL_USER and MYSQL_PASSWORD to the --property user=xxxxxxxx:password=xxxxxxxxxx: respectively
  5. docker build -t movie-info . (run this command in the same directory)
  6. docker-compose up (run this command in the same directory)

Now once done the application should be available at : dockerhostname / localhost depending upon your installation. so for me on windows it is :

  1. http://192.168.99.100:8080/movie-info/faces/actors.xhtml
  2. http://192.168.99.100:8080/movie-info/faces/Films.xhtml

Rest Endpoints :

  1. http://192.168.99.100:8080/movie-info/resources/actors
  2. http://192.168.99.100:8080/movie-info/resources/boundry-invocations/actor
  3. http://192.168.99.100:8080/movie-info/resources/boundry-invocations/actor-summary

== OLD == May be removed The Project is deployed to Openshift at http://javaee7app-archlinux.rhcloud.com/index.xhtml which should run a fairly recent version of the application.

There is also a REST Interface that shall be augmented as and when possible. All the rest interfaces start with resources. e.g. http://javaee7app-archlinux.rhcloud.com/resources/actors

Further examples :

  1. http://javaee7app-archlinux.rhcloud.com/resources/actors/11 to get actor number 11.

The OpenShift jbossas cartridge documentation can be found at:

https://github.com/openshift/origin-server/tree/master/cartridges/openshift-origin-cartridge-jbossas/README.md

About

A Simple Java EE 7 Application

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.