There's no JBoss AS 4.5 GA. Anyway, the 4.x version of JBoss AS did not have complete support for EJB3, especially for injection of beans in servlets. So you might want to try JBoss AS 5.1.0 version.
Your Stateless SB is still as per EJB 2.1 spec. To get this to work, you will have to inject the Home interface of the EJB into the servlet code and then access the local/remote interface of the bean that way.
shabarish vai
Ranch Hand
Joined: May 26, 2008
Posts: 79
posted
0
oh! how is it ejb2.1? !!! can you please see the below link hello world ejb3 i refered the above link i have done the same thing as he has done, can you correct me if am wrong?
Arun Rao wrote:Your Stateless SB is still as per EJB 2.1 spec. To get this to work, you will have to inject the Home interface of the EJB into the servlet code and then access the local/remote interface of the bean that way.
Are you aware of how a Session bean is declared as per EJB 2.1 specification?
shabarish vai
Ranch Hand
Joined: May 26, 2008
Posts: 79
posted
0
no sir, i dont know about ejb2.1. please tell me what to do and how to proceed
Mihai Radulescu
Ranch Hand
Joined: Sep 18, 2003
Posts: 912
posted
0
Jaikiran
Please provide more information about the deployment process.
Please provide more information about the deployment process.
You mean, the process to deploy EJB3 applications on JBoss AS-5? These are the EJB3 tutorials for JBoss AS-5. Let us know, if you are looking for something else.
shabarish vai wrote: please tell me what to do and how to proceed
Please read my earlier reply about using JBoss AS-5. Your first step, should be to download JBoss AS 5.1.0.
Arun Rao wrote:Your Stateless SB is still as per EJB 2.1 spec
Actually, that's not true. The code that shabarish posted is EJB3.0.
Arun Rao
Ranch Hand
Joined: Jan 23, 2004
Posts: 41
posted
0
Sorry my bad.. I dont know what i was smoking.. It is EJB 3.
shabarish vai
Ranch Hand
Joined: May 26, 2008
Posts: 79
posted
0
hi Jaikiran
am not not able to confugure netbeans with jboss 5,
it says please provide vlid jnoss server 4 or 5