On 12/28/06, Korbinian Bachl <[EMAIL PROTECTED]> wrote:
> Hi Filippo,
>
> just browsed through it and its really nice work. Especially if someone
> wants to have EJB3 persitence but not to use EJB3 Stateless Session Beans to
> query it.
>
> However, the thing with the EjbAnnotation looks not so clear to me - i mean,
> every IDE has J5EE support and so in Neatbeans for example i just need 2
> mouseclicks and i got my EJB called through a on the fly created call
> (including web.xml ref. update/creation) e.g:
Hi Korbinian,
yes, you are right, you can create your lookup methods (with your
IDE or writing the classes), in the same way you can extract beans
from Spring calling applicationContext.get("beanName").
However, I prefer to write less code and let the infrastructure be
responsible of doing all the boring stuff. Since Java EE 5 allows you
to inject ejb dependencies through the @EJB annotation, I thought it
would be useful to extend this functionality to wicket pages, in the
same way we have @SpringBean annotation for injecting spring beans.
--
Filippo Diotalevi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user