Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Beans > Re: EJB3 Inject...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 5 Topic 1285 of 1403
Post > Topic >>

Re: EJB3 Injection

by Per Newgro <per.newgro@[EMAIL PROTECTED] > Feb 9, 2007 at 12:02 PM

Hallo Henning Eiben,

Dependeny injection means you have to provide a setter method. 
@[EMAIL PROTECTED]
 customerDispatch;

public void setCustomerDispatcher(ICustomerDispatcher d) {
  customerDispatcher = d;
}

The instance has to be assigned by container. As i said before please read
the spec. That do***ent will bring you a clear understanding of the 3.0
concepts. And if you want to use di please understand the pattern, before
usage. There are many tutorials and other docs in web.

Cheers
Per
 




 5 Posts in Topic:
EJB3 Injection
Henning Eiben <eiben@[  2007-02-08 08:51:38 
Re: EJB3 Injection
Per Newgro <per.newgro  2007-02-08 11:02:19 
Re: EJB3 Injection
Henning Eiben <eiben@[  2007-02-08 16:41:49 
Re: EJB3 Injection
Per Newgro <per.newgro  2007-02-09 12:02:45 
Re: EJB3 Injection
Henning Eiben <eiben@[  2007-02-14 17:21:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 0:28:59 CST 2008.