• 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

run a bean by hand

 
Ranch Hand
Posts: 918
IntelliJ IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I try to run a bean by hand but from some reasons I don't get any results.
I use the tutorial from

http://www.webagesolutions.com/knowledgebase/javakb/jkb005/index.html


in short, I have :
  • a Remote interface
  • a Stateless session bean (which implements this interface)
  • a Main class which use the InitialContext to get the bean.



  • the bean is deployed in a glassfist in the domain1/autodeploy

    but with all of this I still get an Exception a javax.naming.NameNotFoundException: BidBean not found

    The call code looks like :



    this code runs outside of container.

    What I do here wrong ?


    Regards,
    M
    [ August 26, 2008: Message edited by: Mihai Radulescu ]
     
    Ranch Hand
    Posts: 329
    Oracle Java Linux
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Please, post your bean and interface's code.
     
    Mihai Radulescu
    Ranch Hand
    Posts: 918
    IntelliJ IDE Java Linux
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    the interface is :


    and the bean is :



    P.S.

    the code is working, was my mistake - I copied in the wrong location.
    [ August 27, 2008: Message edited by: Mihai Radulescu ]
     
    Don't get me started about those stupid light bulbs.
    reply
      Bookmark Topic Watch Topic
    • New Topic