[jboss-user] [EJB 3.0] - Migrating EJB3 Code from 4.2 to 5.0 and encountering [JBMET

jriley do-not-reply at jboss.com
Tue Jan 20 17:03:38 EST 2009


I have developed a working EJB3 application in 4.2.2.  When I try the applciation in 5.0.0 GA I get a annotation validation exception when loading the Session bean.

I have created a very simple example and get the same problem.  Can anyone explain what I am doing wrong.

The interfaces EchoServiceRemote and EchoServiceLocal extend the same  EchoService interface where the one method is defined.


  | package com.echo;
  | 
  | import javax.ejb.Local;
  | import javax.ejb.Remote;
  | import javax.ejb.Stateless;
  | 
  | 
  | @Stateless( name="ejb/Echo")
  | @Remote( EchoServiceRemote.class )
  | @Local( EchoServiceLocal.class )
  | public class EchoServiceBean implements EchoService{
  | 	
  | 
  | 	public String echo( String msg ) {
  | 		return  msg;
  | 	}
  | }
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203422#4203422

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203422



More information about the jboss-user mailing list