[JBoss-user] [JBoss Seam] - Re: @In vs. @EJB

2006-07-10 Thread sebasfiorent
[EMAIL PROTECTED] wrote : For stateful beans they are very different.

Gavin, can you explain more precissely which is the difference with stateful 
beans between @In and @EJB, because I need to choose the correct annotation if 
they behave different.

Regards
Sebastian

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956583#3956583

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956583


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: @In vs. @EJB

2006-07-10 Thread bambata
So, in case of a stateless Bean Seam uses for Injection via @In a common
 JNDI-lookup to the containers registry(ENC) ?



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956544#3956544

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956544


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: @In vs. @EJB

2006-07-10 Thread [EMAIL PROTECTED]
@EJB is EJB injection.  For a stateful bean, you will get a new instance 
created when your other been is created.   Think of it as a private instance 
that Seam knows nothing about - nobody else can inject that instance.  For 
stateful components, you are more likely to want instances to live in a 
seam-managed context.  (converstion, session, whatever)  To et that, use @In.  

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956613#3956613

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956613


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: @In vs. @EJB

2006-07-10 Thread [EMAIL PROTECTED]
bambata wrote : So, in case of a stateless Bean Seam uses for Injection via 
@In a common
  |  JNDI-lookup to the containers registry(ENC) ?
  | 
  | 

In the case of a SLSB, @In does a JNDI lookup (global or ENC). In the case of a 
JavaBean, it does a new.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956668#3956668

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3956668


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: @In vs. @EJB

2006-07-01 Thread [EMAIL PROTECTED]
Right, @In is handled by Seam, and is aware of the Seam names and Seam 
contexts. For stateless beans there is not really a whole lot of difference 
between the two. In that case, they are each just sugar over a JNDI lookup. For 
stateful beans they are very different.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3954835#3954835

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3954835

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user