On Mon, Dec 7, 2009 at 4:02 PM, Ignacio de Córdoba wrote:
>
> Hi there,
> I'd like to know if there is a recommended approach to deal with dependency
> injection on new EJB 3.1 EJBs.
> I am using now a modified version of JBoss Struts2 plugin with works great
> but it really does nothing more than
On Today at 2:02pm, HR=>Haroon Rafique wrote:
HR> [..snip..]
HR>
HR> Nope. Its not mentioned anywhere else in the app. Its just packaged in
HR> the .war file (which is inside the .ear). Glassfish "does the right thing"
HR> when it sees a servlet marked with the @EJB annotations. You can use th
Hi Robin, see comments inline:
On Today at 7:25pm, RM=>Robin Mannering wrote:
RM> [..snip..]
RM>
RM> Can I just ask two further small questions to Haroon?
RM>
RM> Is the EJBInvokerServlet set to initialise at app startup via the
RM> web.xml definition?
RM>
Nope. Its not mentioned anywhere e
Wow! Thanks for all this great feedback and ideas regards this problem.
I'm sorry I cannot add any useful prompts to help you develop a plugin
Wes as Spring and it's methods for injection are something I know
nothing about. I have to admit, injection is not something I fully
understand and a
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
Just to note, there has been some work in OpenEJB to make it so Struts
objects can use Java EE injection like Servlets or JSF components
can. Karan did the work, he might be able to give more detail.
-David
On Jul 30, 2009, at 6:16 AM, Wes Wannemacher wrote:
Sorry Robin, this is on my to-
On Thu, Jul 30, 2009 at 10:34 AM, Haroon
Rafique wrote:
> Hi Wes,
>
> I don't know much of the details about the JEE spec, however, I can share
> my implementation with you. The code is not in production yet, so caveat
> emptor (it works for us, for now in development).
>
> I use glassfish as my ap
On Today at 9:16am, WW=>Wes Wannemacher wrote:
WW> Sorry Robin, this is on my to-do list, but it's not something I'm
WW> working on right this second. One thing that is holding me up is the
WW> lack of knowledge of JEE. Is there a standard mechanism for creating
WW> instances of EJB-hydrated obje
Sorry Robin, this is on my to-do list, but it's not something I'm
working on right this second. One thing that is holding me up is the
lack of knowledge of JEE. Is there a standard mechanism for creating
instances of EJB-hydrated objects? For instance, if you annotated a
field on a servlet with @Pe
You can either use Spring or implement your own EJB3 interceptor. Though I use
my own EJB3 interceptor, I believe the best option is to go with Spring. Google
Juice can also be option on the table as well.
--- On Thu, 7/30/09, Robin Mannering wrote:
> From: Robin Mannering
> Subje
Just to clear up my actual question from the thread below as feedback
has run dry unfortunately.
Is there anybody working daily with Struts 2 and EJB 3.0?
If so, what is the best way to obtain local references to EJB 3 session
beans from within Struts 2 action classes?
Thanks for any thought
Just wondering if the below thread has gone any further.
After creating another thread on the same subject at an earlier date, we
discussed using the EJB plugin here:
http://cwiki.apache.org/S2PLUGINS/ejb3-plugin.html
However, having started to use this plugin so that I can reference
statele
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
On Thursday 16 July 2009 04:20:05 pm Nathan Schulte wrote:
> 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.c
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
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
Nils-H
On Thu, Jul 16, 2009 at 10:03 PM, Nathan Schulte wrote:
> This may
ot endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
> > Subject: RE: EJB in Struts Action
> > Date: Fri, 3 Oct 2008 10:20:01 -0600
> > From: [EMAIL PROTECTED]
>
ained within this transmission.
> Subject: RE: EJB in Struts Action
> Date: Fri, 3 Oct 2008 10:20:01 -0600
> From: [EMAIL PROTECTED]
> To: user@struts.apache.org
>
> I've used EJB3 w/ Struts 2 in JBoss, and we couldn't get DI working in strtus
> action classes. We
how to do this, I'd love to hear it
as well. Otherwise, you may be stuck with context lookups.
--Eric
-Original Message-
From: Ronaldo Rigoni ... [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2008 7:59 AM
To: Struts Users Mailing List
Subject: Re: EJB in Struts Action
The
The server is GlassFish V2.
I need inject a Local EJB into Struts Action, I Have override a Struts
ObjectFactory and with reflection inject a EJB, but is overwork unnecessary.
How the best way to implement this?
Tanks
Ronaldo Rigoni
2008/10/3 Martin Gainty <[EMAIL PROTECTED]>
>
> which Applicati
which Application Server will you be implementing?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does
You can extend the default stack to inject EJB3. I am not sure if the lookups
for all the servers are the same, but in my case, I have extended the default
stack to inject EJB3 local lookups through an interceptor on Websphere and it
is working prettry good.
- Original Message
From:
Hi,
I've followed this article and it works great for me.
http://blogs.cuetech.eu/roller/psartini/entry/in_struts2_auf_ejb3_session
Marc
� schrieb:
i'm looking for a possibility to realize EJB injection for struts
actions. The simpler the better.
I know that there is a EJB plugin in the regis
2006 6:09 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Ejb
>
>
> Hello
>
> There are some standard advantages mentioned in favour of
> EJBs like transaction management, application scalability,
> security, database connection pools, etc. You can re
Hello
There are some standard advantages mentioned in favour of EJBs like
transaction management, application scalability, security, database
connection pools, etc. You can read through the advantages by browsing
through the EJB specification.
However, recently there have been loads of talks of n
On 6/29/06, Abhimanyu Koul <[EMAIL PROTECTED]> wrote:
hi!
Why do we use ejbs in our application particularly entity and sessions. can't
we write java classes to do the same and use java beans as data carriers.
what are the true benefits of using ejbs with struts.
why do you ask us? It's your d
EJB Design Patterns: Advanced Patterns, Processes, and Idioms
(http://www.amazon.com/exec/obidos/ASIN/0471208310/alberg30-20) by Floyd
Marinescu
Core J2EE Patterns: Best Practices and Design Strategies
(http://www.amazon.com/exec/obidos/ISBN=0131422464/alberg30-20) by
Deepak Alur, John Crupi, Dan
before going into the work get into JNDI as its the gateway to EJB
what exactle are u doing in delegate
-Original Message-
From: Abhimanyu Koul [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 12:39 PM
To: Struts Users Mailing List
Subject: Re: ejb
i am using delegate here
i am using delegate here.
where can i find the book?
thanks
Regards,
Abhimanyu Koul
FinEng Solutions (P) Ltd.
Mobile : +91 9819510090
- Original Message -
From: "Krishna, Hari" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Wednesday, June 28, 2006
Hi pls find the best in the industry book.
If u dont mind pls let me know the architecture you are following.Generally we
call EJBs after Action using either Delegate or Facade pattern.If u are using
servicelocator u can straight away call ejb from Action
-Original Message-
From: Abhima
Sent: 22 July 2004 12:05
To: Struts Users Mailing List
Subject: Re: EJB + Struts + Hibernate
Hi Marco
I'm running all the hibernate stuff in the webapp, /WEB-INF/lib and had
no issues.. Have you the ehcahche jar file in you lib directory?
Only the jdbc drivers in the common/lib directory t
ll have to try to put
It in either one of the two and see if it is working.
Regards
marco
-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]
Sent: 22 July 2004 09:24
To: Struts Users Mailing List
Subject: Re: EJB + Struts + Hibernate
Marco
Can you try and put it on tomcat/
rking.
Regards
marco
-Original Message-
From: Richard [mailto:[EMAIL PROTECTED]
Sent: 22 July 2004 09:24
To: Struts Users Mailing List
Subject: Re: EJB + Struts + Hibernate
Marco
Can you try and put it on tomcat/common/lib directory?
HTH
Richard
Marco Mistroni wrote:
>He
--Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: 27 June 2004 15:43
To: Struts Users Mailing List
Subject: Re: EJB + Struts + Hibernate
+1
You'll want to look at spring whether you want to use EJB or Hibernate.
On 27 Jun 2004, at 16:02, Bryan Hunt wrote:
I don't beli
4 15:43
To: Struts Users Mailing List
Subject: Re: EJB + Struts + Hibernate
+1
You'll want to look at spring whether you want to use EJB or Hibernate.
On 27 Jun 2004, at 16:02, Bryan Hunt wrote:
> I don't believe it is unless you feel that the application will need
> to be distribut
Spring is ultra cool. The most usefull thing that I'm doing with it is
using it's built in hibernate support rather than creating
and having to manage my own session factory code. It also allows u to
manage your transactions in the xml config file
and use aspect oriented programming for stuff li
+1
If your interfaces are in place you can pretty much change the
persistence layer to whatever you like very quickly.
I'll check ibatis 2 out if it does mean editing lots of xml files :o)
On 28 Jun 2004, at 10:54, <[EMAIL PROTECTED]> wrote:
On 04/06/28 8:55, "Mark Lowe" <[EMAIL PROTECTED]> wrote
On 04/06/28 8:55, "Mark Lowe" <[EMAIL PROTECTED]> wrote:
> The only thing thats stopped me using ibatis is that there's no
> xdoclet template thus the need to edit and maintain a bunch of mapping
> files, "YAWN".
>
iBatis has the DAO framework so you could switch from persistence
layer
with rel
Hi,
I have. but I m not using EJB on top...just straight
Hibernate
Frankly, it depends on your type of app...
For example, If u want to use the session façade, you will have
A session EJB that hides the entity EJB. If u r not happy using entity
EJB,
U would replace entity code with hib
The only thing thats stopped me using ibatis is that there's no xdoclet
template thus the need to edit and maintain a bunch of mapping files,
"YAWN".
Mark
On 28 Jun 2004, at 02:11, Vic Cekvenich wrote:
EJB is heavy, therefore slow and less scaleable. So in order to
support a heavy transaction l
EJB is heavy, therefore slow and less scaleable. So in order to support
a heavy transaction load, you would avoid it.
(and I think the reason somone mentioned iBatis is that it's popular and
scaleable, more so that Hibrenate becuase it's lower to the metal (SQL))
.V
Irfandhy Franciscus wrote:
.
On Sun, 2004-06-27 at 19:05, Pedro Salgado wrote:
> Have you checked iBatis? www.ibatis.com
>
> Pedro Salgado
>
> On 04/06/27 12:16, "Irfandhy Franciscus" <[EMAIL PROTECTED]> wrote:
>
> > Thanks for the reply. So far I have tested my apps with JUnit and
> > HttpUnit using a single resin serve.
Have you checked iBatis? www.ibatis.com
Pedro Salgado
On 04/06/27 12:16, "Irfandhy Franciscus" <[EMAIL PROTECTED]> wrote:
> Thanks for the reply. So far I have tested my apps with JUnit and
> HttpUnit using a single resin serve. and it is working fine. I am just
> scared that it would not be
Well I'm using it to deal with the business service side of my
applications between hibernate and struts. It saves me a lot of work. I
can really say anymore than that.
This article turned me on to it:
http://www.onjava.com/pub/a/onjava/2004/04/07/wiringwebapps.html
And matt raiable's app fuse
What's so special about SPRING? I am always interested in application
frameworks. Can anyone give a quick synopsis of the pluses and minuses?
Micahel
At 07:42 AM 6/27/2004, Mark Lowe wrote:
+1
You'll want to look at spring whether you want to use EJB or Hibernate.
On 27 Jun 2004, at 16:02, Brya
Thanks for the reply. So far I have tested my apps with JUnit and
HttpUnit using a single resin serve. and it is working fine. I am just
scared that it would not be able to handle heavy concurrent transaction
without EJB.
Thanks for the replies.
Mark Lowe wrote:
+1
You'll want to look at spring
+1
You'll want to look at spring whether you want to use EJB or Hibernate.
On 27 Jun 2004, at 16:02, Bryan Hunt wrote:
I don't believe it is unless you feel that the application will need
to be distributed across a cluster.
I use the (excellent) spring framework ( springframework.org ) so that
I
I don't believe it is unless you feel that the application will need to
be distributed across a cluster.
I use the (excellent) spring framework ( springframework.org ) so that I
can plug into a EJB layer if necessary in the future.
--b
Irfandhy Franciscus wrote:
Hi,
Does any of you guys has eve
On Apr 16, 2004, at 12:01 AM, Rajesh, Harikrishnan (H.) wrote:
Does some body throw me light on how to architect an application with
EJB+STRUTS for Websphere+Oracle environment. It would be very much of
help to me if anybody has some sample architecture or sample
application. If you have some samp
Yes, I work in a FOG environment.
<>
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Friday, April 16, 2004 11:00 AM
To: Struts Users Mailing List
Subject: Re: [FRIDAY] [WAS]RE: EJB+STRUTS Architecture
That's one of the Fang of Gore design patterns, if I
That's one of the Fang of Gore design patterns, if I'm not much mistaken.
On 04/16/2004 03:49 PM Mainguy, Mike wrote:
I prefer to use the Singleton Business Delegate Value Object Pattern to
implement a Service Oriented Architecture ;)
<>
-Original Message-
From: Rajesh, Harikrishnan (
I prefer to use the Singleton Business Delegate Value Object Pattern to
implement a Service Oriented Architecture ;)
<>
-Original Message-
From: Rajesh, Harikrishnan (H.) [mailto:[EMAIL PROTECTED]
Sent: Friday, April 16, 2004 12:01 AM
To: [EMAIL PROTECTED]
Subject: EJB+STRUTS Architec
u can find it at www.jbpm.org. It is struts + hibernate + ejb.
- Original Message -
From: "Rajesh, Harikrishnan (H.)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 16, 2004 12:01 PM
Subject: EJB+STRUTS Architecture
Hi,
Does some body throw me light on how to architect
Harikrishnan,
here are two links. one from sun it shows howto use
j2ee-patterns with struts
http://developers.sun.com/events/techdays/codecamps/
(the third element in page)
the other is an opensource-project, called 'StrutsEJB'
https://strutsejb.dev.java.net/
Cheers,
matthias
> -Original Me
54 matches
Mail list logo