Hi Gurkan!

I looked over your sample and it does look pretty good, great job!

One thing: shouldn't we move the Transactionalnterceptor to openwebbeans-jpa, 
since this is almost a standard thing, isn't?
Also I have not yet checked if we handle long running conversations correctly. 
Storing a @ConversationScoped bean which has a PersistenceContext may lead to a 
timeout of the EntityManager. So we have to re-attach some JPA entities. We can 
look at myfaces-orchestra how Mario did solve this.

LieGrue,
strub




----- Ursprüngliche Mail ----
> Von: Gurkan Erdogdu <[email protected]>
> An: [email protected]
> Gesendet: Donnerstag, den 14. Mai 2009, 19:13:41 Uhr
> Betreff: Re: Sample Application with OWB + JSF + JPA
> 
> Hi 
> 
> This is my --> mvn help:effective-pom repository setting.
> 
>     
>       
>         java.net
>         http://download.java.net/maven/1
>         legacy
>       
>       
>         
>           false
>         
>         apache.snapshots
>         Apache Snapshot Repository
>         http://people.apache.org/repo/m2-snapshot-repository
>       
>       
>         
>           false
>         
>         central
>         Maven Repository Switchboard
>         http://repo1.maven.org/maven2
>       
>     
> 
> 
> 
> 
> 
> ________________________________
> From: Matthias Wessendorf 
> To: [email protected]
> Sent: Thursday, May 14, 2009 7:54:08 PM
> Subject: Re: Sample Application with OWB + JSF + JPA
> 
> where to find this guy ?
> 
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building OpenWebBeans :: Geronimo integration
> [INFO]    task-segment: [clean, install]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] snapshot org.apache.geronimo.specs:specs:1.1-SNAPSHOT: checking
> for updates from snapshots-corporate
> Downloading: 
> http://stacy27.us.oracle.com/maven2-snapshots/org/apache/geronimo/specs/specs/1.1-SNAPSHOT/specs-1.1-SNAPSHOT.pom
> Downloading: 
> http://adfui.us.oracle.com/maven/org.apache.geronimo.specs/poms/specs-1.1-SNAPSHOT.pom
> Downloading: 
> http://www.ibiblio.org/maven/org/apache/geronimo/specs/specs/1.1-SNAPSHOT/specs-1.1-SNAPSHOT.pom
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/geronimo/specs/specs/1.1-SNAPSHOT/specs-1.1-SNAPSHOT.pom
> Downloading: 
> http://download.java.net/maven/1/org.apache.geronimo.specs/poms/specs-1.1-SNAPSHOT.pom
> Downloading: 
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/geronimo/specs/specs/1.1-SNAPSHOT/specs-1.1-SNAPSHOT.pom
> Downloading: 
> http://people.apache.org/repo/m2-incubating-repository/org/apache/geronimo/specs/specs/1.1-SNAPSHOT/specs-1.1-SNAPSHOT.pom
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> 
> 
> Project ID: null:geronimo-jms_1.1_spec:jar:1.0
> 
> Reason: Cannot find parent: org.apache.geronimo.specs:specs for
> project: null:geronimo-jms_1.1_spec:jar:1.0 for project
> null:geronimo-jms_1.1_spec:jar:1.0
> 
> 
> On Thu, May 14, 2009 at 6:38 PM, Matthias Wessendorf wrote:
> > awesome!
> >
> > just passed that along to the MyFaces community
> >
> > On Thu, May 14, 2009 at 12:37 PM, Mohammad Nour El-Din
> > wrote:
> >> Great :), I will check it during the weekend.
> >>
> >> On Thu, May 14, 2009 at 1:07 AM, Mark Struberg wrote:
> >>>
> >>> cool!
> >>>
> >>> will check this out tomorrow!
> >>>
> >>> LieGrue,
> >>> strub
> >>>
> >>>
> >>>
> >>> ----- Ursprüngliche Mail ----
> >>>> Von: Gurkan Erdogdu 
> >>>> An: [email protected]; 
> [email protected]
> >>>> Gesendet: Mittwoch, den 13. Mai 2009, 23:27:26 Uhr
> >>>> Betreff: Sample Application with OWB + JSF + JPA
> >>>>
> >>>> Hi guys;
> >>>>
> >>>> I have finally finished the 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/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!
> >>>>
> >>>> Thanks;
> >>>>
> >>>> Gurkan
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >> --
> >> ----
> >> Thanks
> >> - Mohammad Nour
> >> - LinkedIn: http://www.linkedin.com/in/mnour
> >> ----
> >> "Life is like riding a bicycle. To keep your balance you must keep moving"
> >> - Albert Einstein
> >>
> >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > blog: http://matthiaswessendorf.wordpress.com/
> > sessions: http://www.slideshare.net/mwessendorf
> > twitter: http://twitter.com/mwessendorf
> >
> 
> 
> 
> -- 
> Matthias Wessendorf
> 
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf




Reply via email to