• Post Reply Bookmark Topic Watch Topic
  • New Topic

ejb project migration  RSS feed

 
sitaram irrinki
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Our Archtechture is based on MVC,where view(Swings),Controller(Session
Bean) and Model is (Entity Bean) and we were using VO also.I think we need
to change our code in the case of entity bean.We were getting lot exceptions
as we migrated from weblogic5.1 to 6.1 and we are also planning to migrate
from 6.1 to 8.1 wwhich is not yet finalised.We were gerring remote exception
in 6.1 in ejbCreate method which it needs to throw a DuplicateKey
exception.So there are many issues we hav to concentrate.
cud u pls send me the ejb specs url where they might hav mentioned the
measures to take ejb1.1 to ejb2.1
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your beans throw system exceptions, these must not be RemoteException. This was allowed in the pre-EJB 1.1 spec, but not in the EJB 2.0 spec (which WebLogic Server 8.1 implements).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!