OpenWebBeans

Thursday May 14, 2009

Sample Application with JSF, JPA and OpenWebBeans

We have written a real sample application written with JSF + JPA +OWB. It is called "Hotel Reservation Application". You can create "Admin" and "Normal" user accounts. "Admin" is responsible for defining hotels etc, and user  creates a hotel reservation.
Altough it is a simple application, it uses and shows most of the functionality that are defined in the JSR-299, including Scope and Contexts, Interceptors,Decorators, Events and Observers etc.

STEPS TO RUN
-------------------------------
It is located in the trunk[1]/samples/reservation directory. In this directory

> mvn clean install -Pjetty --> to compile and install
> mvn jetty:run -Pjetty  --> to run the jetty container

Then, http://localhost:8080/reservation
Voila, enjoys it!

[1]http://svn.apache.org/repos/asf/incubator/openwebbeans/trunk/

OWB Team

Comments:

Hi, I got this error. Can you help me to get rid of this. [INFO] Scanning for projects... [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.apache.openwebbeans.samples:reservation:1.2.0-SNAPSHOT (D:\Dev Support\OpenWebBeans\res_ver\pom.xml) has 1 error [ERROR] Non-resolvable parent POM: Could not find artifact org.apache.openwebbeans:samples:pom:1.2.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 21, column 13 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException Thanks,

Posted by Jeramia on July 28, 2013 at 10:23 AM GMT #

Post a Comment:
  • HTML Syntax: NOT allowed

Calendar

Search

Hot Blogs (today's hits)

Tag Cloud

Categories

Feeds

Links

Navigation