Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

Unable to compile EJB 2.0 classes ???

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic