• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

wrong value being returned

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think this is the correct place for this, if not please excuse me. I have a jsp page that calls a ejb method that is supposed to return version of the package. The code in the bean file is "Package.getPackage(APP_EJB_PACKAGE).getImplementationVersion();" (APP_EJB_PACKAGE = com.estylesoft.cms.ejb).
This method is not erroring out but is not returning any value. From what I can tell the the Manifest.MF file is supposed to contain this value and the file has the following entry

Name: com/estylesoft/cms/ejb/
Specification-Title: Java Utility Classes
Specification-Version: 1.3
Specification-Vendor: Sun Microsystems Inc.
Implementation-Title: com.estylesoft.cms.ejb
Implementation-Version: 0.0.0.7
Implementation-Vendor: E-Style Soft Case Magagement System

Can anyone here tell me what is wrong; because the jsp is testing for the value of 0.0.0.7 but the method returns a blank string.

Thanks for your help.
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am not sure but I guess you have to use getimplementationVersion()than getImplementationVersion().Please excuse me if I am wrong and correct me if possible.
Thanks
Anupa
 
Sean Rhone
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, there is no option to use getimplementationVersion(). The only option is getImplementationVersion().

But thanks for the idea.
 
There's a way to do it better - find it. -Edison. A better tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic