• 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

Help !! New to EJB/J2EE

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am new to J2EE. I have installed J2SDKEE1.2.1 on my pc having windows 98 OS. I am already having Tomcat 4.1 and JDK 1.2.2.
I have deployed EJB given as example on example
I followed the URl and deployed the EJB.But now when I am running the bonus.html file, Page Not Found error is coming.
I dont know anything about the setting the J2EE server and all.
All i did is I set the J2EE_Home, and Class path.
My Folder structure is C:\J2SDKEE1.2.1\Bin
My Servlet, Html files are under this BIN.Then all the Beans are under
C:\J2SDKEE1.2.1\Bin\Beans directory.
Please guide me how to run the EJB.Also abou the settings and all.
Thanks in advance.
Nilesh
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you following the Sun J2EE Tutorial (for your version of the SDK)?
 
Ranch Hand
Posts: 390
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I hope you are aware that tomcat is not an EJB container; tomcat is a servlet/JSP container.
 
Nilesh Srivastava
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
Thanks for replying.I know that Tomcat is not EJB container.And i followed the sun's specification.Thankfully Now my EJB is running but still I am not able to know why it wasnt working earlier when I was following the same procedure.
It was reading the servlet but was not displaying the output from beans.
I have one more query, I have placed some SOP's(System.out.println()) in servlet, but while running the entire application, it doesnt comes up on the console. I even checked it up in LOG directory, but i didnt get my SOP's in that too.
Could any one help me and guide me with solutions to these queries.
Thanks..
 
Can you really tell me that we aren't dealing with suspicious baked goods? And then there is this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic