Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes 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 ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Converting EJB2.0 to 2.1 Specification.

Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to convert EJB2.0 Allpication into EJB 2.1 Application type?
Is it sufficient to modify just DTD of ejb-jar.xml?
Before when I was using EJB2.0 Spec, my ejb-jar.xml DTD was as follows:-
<ejb-jar xmlns="" xmlns:xsi="" xsi:schemaLocation="" version="2.0">

Now for converting it to 2.1 Spec. I just modified my ejb-jar.xml's DTD as follows:-
<ejb-jar xmlns="" xmlns:xsi="" xsi:schemaLocation="" version="2.1">

Now I can deploy my application successfully into my App server (JBOSS4.0.3). But Problem arises when I am trying to use "GROUP BY, ORDER BY" clauses into my EJB-QL. As per EJB Specification these "GROUP BY & ORDEr BY " methods are not supported in EJB2.0 spec & these are suppoted by EJB 2.1 Spec. So I modified my ejb-jar.xml as follows to convert it from 2.0 to 2.1. But still I am not able to use these EJB-QL methods inside my EJB's. What should I do now? Is it not sufficient to just change DTD's for converting EJB 2.0 to 2.1?
Please tell me.
I stuck with my EJB application since last 3 days due to this problem only.
Please guide me.
Thank you in advance.
[ August 18, 2006: Message edited by: Prashant Tiwari ]
    Bookmark Topic Watch Topic
  • New Topic