In general, the @EJB annotation is intercepted by EJB containers only, but I notice some server providers have been extending it to JSF (and servlets?).

It would be nice to have Tapestry handle the @EJB annotation, too, but in the meantime, I think a service locator is a pretty painless alternative. One nice thing about it is that you can see all the available interfaces in the one place.

BTW, I didn't like the division of responsibility I had between the BusinessServicesLocator and its superclass JndiServicesLocator, so you'll see a new, cleaner, version out in a few days.

Geoff

On 28/01/2009, at 12:02 AM, Adam Zimowski wrote:

"use all of EJB3 annotations within Jetty" - I meant "within Tapestry
pages/components in favor of @Inject"

Sorry... to much Jetty lately :)

-adam

On Tue, Jan 27, 2009 at 6:56 AM, Adam Zimowski <zimowsk...@gmail.com> wrote:
Hi Geoff,

I didn't have a chance to download jumpstart yet, but I spent some
time looking at your EJB3 example and source code. It's a very elegant
solution you have but what I was looking for more was to avoid JNDI
lookups in favor of native EJB DE via @EJB. In general, I would like
to be able to use all of EJB3 annotations within Jetty. Is it possible
without having to run Jetty with custom code (to pick up ejb
annotations) as embedded engine? Basically, due to politics I'm banned
from using Spring on this project, and EJB3 is forced as a
replacement. So I'd like to make the most of it and use EJB all the
way along with all it offers.I really like Jetty for development, and
I do not want to run Jboss or Glassfish locally if I don't have to.

Hope this all makes sense..
-adam


On Sun, Jan 25, 2009 at 6:13 AM, Geoff Callender
<geoff.callender.jumpst...@gmail.com> wrote:
I'm not sure that I understand your question, but have you had a play now
and did it answer your question?

On 25/01/2009, at 1:01 AM, Adam Zimowski wrote:

Thanks Geoff!! I'll play with it today then :) Do you have a built-in support for running openEJB on a remote server, or is it a matter of
an easy configuration, in case of jumpstart?

-adam

On Sat, Jan 24, 2009 at 7:56 AM, Geoff Callender
<geoff.callender.jumpst...@gmail.com> wrote:

Yes, I got it working and released it as JumpStart 4.0 (
http://jumpstart.doublenegative.com.au/installation.html ). You develop with OpenEJB and can still deploy to JBoss. I'm working on expanding the deployment servers list. The next one will be Glassfish. With any luck
I'll also add Geronimo and Tomcat/OpenEJB.

Cheers,
Geoff

On 25/01/2009, at 12:40 AM, Adam Zimowski wrote:

Geoff - any further news on your Jetty-T5-OpenEJB-Hibernate stack? I'm on the same boat, except for me it is a requirement. I'm just at the beginning of the research phase, and thought I'd check the list for
any shorter routes..

-adam

On Sun, Jan 18, 2009 at 5:36 AM, Geoff Callender
<geoff.callender.jumpst...@gmail.com> wrote:

For the record, I've succeeded in getting Jetty-T5-OpenEJB- Hibernate working. It's a great combination for development and it has resulted
in
JumpStart 4.0. I'll post the announcement tomorrow if there are no
glitches
reported in the next 24 hours.

On 22/11/2008, at 10:35 AM, Geoff Callender wrote:

Has anyone got Jetty-T5-OpenEJB-Hibernate working? I'd like to use
this
combo for a 2nd implementation of JumpStart so if anyone can help me
that
would be great.

Thanks,

Geoff



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to