Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to compile EJB 2.0 classes ???

 
Siva Ram
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have written a bean class() in EJB 1.1 spec. which gives the compile time error.
" EJBLocalObject " - is missing
I have written a bean class() in EJB 2.0 spec. which also gives the compile time error.
" bean class should not be abstract ".
I am compiling these classes in VAJ 4.0.
For the above two cases, what is the modification I have to do in my VAJ 4.o ??
TIA,
N.Ravisankar
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically, you CANNOT, repeat CANNOT use VAJ to develop for EITHER the EJB 1.1 or the EJB 2.0 specifications. The only level of the spec that works with VAJ is EJB 1.0.
To develop for EJB 1.1, you need to get the successor product to VAJ, WebSphere Studio Application Developer, version 4.0. To develop EJB 2.0, you need version 5.0 of WebSphere Studio Application developer (slated to go out in a public beta in September, for full release in 4Q).
Kyle
[ August 11, 2002: Message edited by: Kyle Brown ]
 
Sethu V
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Siva
I dont exactly know abt VAJ4..butfrom the errors u r getting it seems u might have declared the implementation class as abstract check it out
 
parag Chatterjee
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
VAJ4.0 supports EJB1.1.
So, you can use the api for ejb1.1 in ejb development.
Please note that the concept of local interface only comes in ejb2.0 which will not work with vaj4.0

Originally posted by Siva Ram:
Hi,
I have written a bean class() in EJB 1.1 spec. which gives the compile time error.
" EJBLocalObject " - is missing
I have written a bean class() in EJB 2.0 spec. which also gives the compile time error.
" bean class should not be abstract ".
I am compiling these classes in VAJ 4.0.
For the above two cases, what is the modification I have to do in my VAJ 4.o ??
TIA,
N.Ravisankar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic