Hi,

I am trying to set up a maven configuration for the very first
exercise in the O'reilly's EJB3 book. They use ANT to build the
classpath, execute, etc.

1) I was able to find a generic persistence-api-1.0.jar in the repo1,
but can't find a generic EJB3 api... does that exist? I had to specify
an extra repository to pull the JBoss ejb3 api jar. That seems strange
as the API is the API, no matter where the implementation is... Does a
generic one exist like with persistence?

2) In that first exercise, they use a regular Java client (note NOT an
JEE client, just regular java) which uses JNDI look up with some
properties to look up a remote session bean on the JBoss server. While
they use ANT to generate the classpath, the stuff ALL possible JARS in
that classpath... They use every 'lib' directory in JBoss and
reference tons and tons of JARS on the classpath. My question is, in
maven, what would I reference as a dependency to simply do a JNDI look
up on a session bean and execute a method in it (session bean is
obviously deployed to JBoss at that point)?

-- 
Thanks,
NG

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

Reply via email to