Getting started with EJB

I am trying to run my first EJB program without having to use JBoss or Sun's app server. I want to write a program and understand various jar files, and be able to deploy it in app server of my choice. I looked at example in Java EE tutorial but development and deployment is very specific to Net Beans and Sun's App Server. I am just trying to understand the concept. I understand the code and basic Annotations but not really understanding various .xml files that are required.

I downloaded the tutorial but it has myriad number of .xml files, I just want to know what's standard and their use, so that It could be used in various app servers.

I am also trying to understand example "coverter" that comes in Java EE tutorial. My question is how does Client looks up the remote client with just the help of @EJB.

[835 byte] By [mohitanchliaa] at [2007-11-27 6:31:02]
# 1

You might want to take a look at some simple "hello, world" EJB 3.0 examples we have here :

https://glassfish.dev.java.net/javaee5/ejb/EJB30.html

They just use ant to package up the applications. There are no deployment descriptors needed.

A client application that wants to use @EJB is coded as an Application Client component. It runs

within an application client container and it's the container that injects the Remote EJB reference

at runtime.You can find more information on this in our EJB FAQ :

https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html

ksaksa at 2007-7-12 17:55:50 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...