• 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

Enterprise application+MDB in NetBeans

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have created a enterprice application. I do have a MDB in the <PROJECTNAME>-ejb folder.

From the mdb i am trying to call a class which is present in the webapplication (ie.. <ProjectName>-war. But its failing in compilation, its telling class not found.

can anyone help me how to configure this issue. I dont want the class to be present in both MDB and war application.
 
Sudipta Laha
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got a solution for this. Dont know if this is the proper way or not. So, posting it here.

Created another libary project and added the common java files used by the application and the MDB.
Inclueded the libary in the war and ejb project.

Will like to know is there are anyother ways for doing this in neatbeans.
 
reply
    Bookmark Topic Watch Topic
  • New Topic