>How can i call EJB's from struts application.
The same way as you would call an EJB from a simple web application. Read some tutorial to find out how EJBs are called from client applications.
> Can we implement Transaactions in stateless
> ess session Beans.
Yes.
> Since stateless session bean does not hold the
> the conversational state then How can we implement
> transactions in stateless session bean.
Since stateless session beans do not hold the conversational state, the only restriction is that your transaction cannot span across methods... a method that begins a transaction must commit or rollback to end the transaction.
>can u give me sample code.
Google for that.
One has to first decide to go in for Stateful or Stateless Session bean depending on the requirement to hold converstational state in order to implement transactions in an EJB.
Once you decide this then code accordingly. Most of the samples are available in the examples section of Weblogic installer just in case if you have downloaded/installed Weblogic App Server.
Rgds,
seetesh