Re: CMP failed with 3 layered Object structure

2012-06-02 Thread David Blevins
On Jun 2, 2012, at 3:43 PM, georgenis wrote: > Hi, > > here is a short preview of my method: > > @Override > public RoleInformation getRole(String roleId, String sessionId) throws > OpenflowException { > Session session = sessionBean.isSessionValid(sessionId); >

Re: CMP failed with 3 layered Object structure

2012-06-02 Thread georgenis
Hi, here is a short preview of my method: @Override public RoleInformation getRole(String roleId, String sessionId) throws OpenflowException { Session session = sessionBean.isSessionValid(sessionId); if(session!=null) {

Re: CMP failed with 3 layered Object structure

2012-06-02 Thread David Blevins
On Jun 2, 2012, at 2:53 AM, georgenis wrote: > I thought the container manage all database connections?! It depends. There are two types of JPA, RESOURCE_LOCAL were the application does the management and TRANSACTION where the container does the management. A basic overview: http://openejb.

Re: MyFaces and ViewScope, Mojarra + TomEE ?

2012-06-02 Thread marcin
Well, I think that I've managed to solve the problem with expiring view. The problem was that I had 3 h:forms in the page. When I put all content of the page into one form, I didn't expirienced expired view exception anymore. But nevertheless I'd like to ask how I can install Mojarra on TomEE as

MyFaces and ViewScope, Mojarra + TomEE ?

2012-06-02 Thread marcin
I have an issue with @ViewScope. My @ViewScope bean has a viewParam named id. The page example.xhtml is opened with GET parameter id, i.e example.xhtml?id=343 When I open this in browser, and fire actions on the page (both AJAX and normal HTTP) everything works fine, as it is excepted with ViewS

Re: JDK version certified with the latest release of tomee-1.0.0

2012-06-02 Thread David Blevins
On Jun 1, 2012, at 10:52 PM, David Blevins wrote: > > On May 31, 2012, at 12:11 PM, Fernando Lozano wrote: > >> Hi, >> >> TomEE won't work with JDK7 means "wan't suficiently tested, use at your own >> risk" > > That one. OpenJPA is known not to build with Java 7, but I'm not sure how it >