[s2] Struts Dependency Injection and EJB3 - support ? or how can i Do it?

2007-01-22 Thread papo

Hello

I am trying to find a way of calling efficienlty from Struts Actions - 
SLSBs EJB3. I have made a question before.


- Doing JNDI calls all the time through every action works though its a 
very primitive way of doing it.
-Tried to implement the Service locator pattern though the semantics on 
EJB3 are different (how to cache Intefaces, which interfaces)


I know tha EJB3 on the web layer Serlvets/ JSF supports Dependency 
Injection for EJB3.



Will Struts 2.0 support such a feature if NOT can anyone point me the 
mechanics so to (try) doing it on my own.


I am bit stuck for days at this very point of efficiently glue-ing 
Struts and my EJB3 Business layer


Any hint would be much appreciated!




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



EJB 3 + Struts ....delegate/ facade question

2007-01-17 Thread papo

Hello everyone!

I am doing some EJB3 related project, all seems to work ok, though I now 
at the level of adding the web layer to the overall image! I have used 
struts before with EJB2.1 and we had some sort of delegates / facades / 
service locators in order to give us access to the Session Beans ..etc etc.


I guess I have to go to the same route, again in order to give access 
from the web - struts layer to the EJB3 business layer.


Struts 2.0 will support any kind of IoC for that stuff  - not targeted 
though for EJB3?



thanks in advance



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



EJB 3 + Struts ....delegate/ facade question

2007-01-17 Thread papo

(I'm sorry the previous one end it up - to wrong topic)

Hello everyone!

I am doing some EJB3 related project, all seems to work ok, though I now 
at the level of adding the web layer to the overall image! I have used 
struts before with EJB2.1 and we had some sort of delegates / facades / 
service locators in order to give us access to the Session Beans ..etc etc.


I guess I have to go to the same route, again in order to give access 
from the web - struts layer to the EJB3 business layer.


Struts 2.0 will support any kind of IoC for that stuff  - not targeted 
though for EJB3?



thanks in advance


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]