• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Help !! New to EJB/J2EE

 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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..
 
I want my playground back. Here, I'll give you this tiny ad for it:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic