• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help !! New to EJB/J2EE

 
Nilesh Srivastava
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
 
Lasse Koskela
author
Sheriff
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)?
 
Anselm Paulinus
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..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!