users@glassfish.java.net

RE: Re: Re: EJB Unit Testing

From: Jason Lee <lee_at_iecokc.com>
Date: Fri, 16 Mar 2007 16:53:34 -0500

By using setter injection, though, you make it possible to use the class
with other "integration technologies" such as Spring (or Guice) without
having to change your class.

-----
Jason Lee, SCJP
Senior Software Engineer
http://www.iec-okc.com
 

> -----Original Message-----
> From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
> Sent: Friday, March 16, 2007 4:27 PM
> To: users_at_glassfish.dev.java.net
> Subject: Re: Re: EJB Unit Testing
>
> Alternatively you can leave your beans as is and use
> EasyGloss (easygloss.dev.java.net) to do the injection for you!
>
> (Saves you having to expose the setters unnecessarily)
> [Message sent by forum member 'stephenconnolly' (stephenconnolly)]
>
> http://forums.java.net/jive/thread.jspa?messageID=208513
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>