Nathan Schulte ngc.com> writes:
>
> Nathan Schulte ngc.com> writes:
> > here, http://article.gmane.org/gmane.comp.jakarta.struts.user/170543,
> http://article.gmane.org/gmane.comp.jakarta.struts.user/170543
>
> > Here is a link to the error, http://
Nathan Schulte ngc.com> writes:
> here, http://article.gmane.org/gmane.comp.jakarta.struts.user/170543,
http://article.gmane.org/gmane.comp.jakarta.struts.user/170543
> Here is a link to the error, http://pastebin.com/m5d0d22c8.
http://pastebin.com/m5d0d22c8
Also, here is the excepti
Robin Mannering mtndesigns.co.uk> writes:
> http://cwiki.apache.org/S2PLUGINS/ejb3-plugin.html
Are you using that plugin, or the following?
http://cwiki.apache.org/S2PLUGINS/ejb3-jboss-plugin.html
With the "JBoss" plugin, I am able to use Local interfaces rather than remote.
I can show an exampl
Hey all, I've got an issue I can't seem to solve.
I'm using Struts2 with the JSON Plugin. The error I am receiving is below.
This occurs when trying to access the Action. I am not sure why this error is
being thrown, but I believe it has something to do with the way I implemented
the "Open Sess
Nathan Schulte ngc.com> writes:
> I'll let you know what I come up with.
Well, I was able to get this to work. The interceptor is placed on the end of
the stack, although it's location oughtn't matter. Also, it is placed on the
stack for _all_ actions. I'm not sur
Wes Wannemacher wantii.com> writes:
> This is not exactly what you want, and it's based on Hibernate and a
> hibernate session, but if you think of hibernate sessions as jpa EMs,
> then you can just make the appropriate changes to this and at least be
> further than you are now.
Thanks Wes, I don
Jim Kiley summa-tech.com> writes:
> I assume that the OpenEntityManagerInViewFilter is not the solution for you?
I'm not using Spring. As such, I'm not familiar with this filter, but from the
description, yes, that is what is needed. However, the app server manages the
transactions, and injects
So is this the only resolution out there? To lazily initialize the contents I
know I'll need before the container decides to trash the persistence context?
There is no way to extend the context such that the lazy initialization will
work when rendering the view?
-
Wes Wannemacher wantii.com> writes:
> Seems to me that my idea to create an ObjectFactory based plugin ... needs to
pick up some steam.
> I only have one question for the EJB users out there... Do you guys need
Spring integration as well?
To answer your question, _I_ personally don't need Spring
Nils-Helge Garli Hegvik gmail.com> writes:
> The short answer - You have to do the lookup yourself.
:/
> The long answer - There's a similar discussion going on that pretty
> much covers the topic:
> http://www.nabble.com/Struts2-Action-Class-and-EJB-Injection-td24497801.html
Yes, I'm familiar wi
This may be more related to XWork2, but I'll start by asking here.
I'm creating a custom Interceptor to handle user permissions for an application.
Rather than redirecting to an action to actually process a login attempt
(requiring a custom result type), the Interceptor itself will process the lo
David Canos gmail.com> writes:
> I use a Hibernate.initilize() call in the DAO layer for every object I need
> to see in the presentation layer (common jsp files).it avoids Lazy
> Initializations without passing Hibernate Proxy around layers.
This was one of my last resort ideas. It completely f
Robin Mannering mtndesigns.co.uk> writes:
> Can you please tell me how you obtained the EJB plugin and a short
> example of using it.
>
> I would prefer to use this if possible.
Sorr, I misspoke earlier. I'm actually using the EJB3 JBoss Plugin, from here
http://cwiki.apache.org/S2PLUGINS/ejb3
I'm currently using Struts2 in a project that is utilizing the Java Persistence
API (JPA, specifically Hibernate) with container managed transactions (CMT). To
access the Persistence layer, a layer was created using SLSBs as "service"
objects which provide simple " getById( int )" and
"List<> gets
Robin Mannering wrote:
> Is there anybody that is using Struts2 as the 'frontend' to an EJB 3
> 'backend' and what solution do you currently employ.
I am using the described setup, yes. Our solution was to use the mentioned EJB3
plugin and it's @InjectEJB annotation. It works well, I have not h
15 matches
Mail list logo