Where to begin EJB? Please save a beginner!

Discussions

EJB programming & troubleshooting: Where to begin EJB? Please save a beginner!

  1. Where to begin EJB? Please save a beginner! (2 messages)

    I have a poor environment. I'm using Windows98.
    (Don't ask me to upgrade OS. I hate my brand new HP pc.)
    I installed jdk1.3 and j2sdkee1.2.1.
    Isn't it enough to start EJB?
    All the session beans worked fine. I love'em.
    However, I never got through with any single example of EntityBean.

    I added lines in autoexec.bat:
    set JAVA_HOME=c:\jdk1.3
    set J2EE_HOME=c:\j2sdkee1.2.1
    path=%path%;c:\jdk1.3\bin;c:\j2sdkee1.2.1\bin
    set classpath=.;c:\jdk1.3\lib\tools.jar;c:\j2sdkee1.2.1\lib\j2ee.jar

    I runned:
    j2ee -verbose
    deploytool
    cloudscape -start

    Please refer to the article below for the error message:
    "EntityBean Runtime Error - ProductEJB" (Apr.4,2001)

    **********
    Question1: How can I access to my MsSql Database in EntityBean?
    **********
    I used to access in javabeans like this:
      Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
      Connection c = java.sql.DriverManager.getConnection("jdbc:odbc:TEST","me","1234");

    **********
    Question2: Is there any of EJB Server for Windows98?
    **********
    BEA WebLogic
    IBM WebSphere
    Inprise IAS
    ...
  2. Ans for
    Question 2:

    I have used Bea Weblogic 5.1 on Windows 98 successfully...I dont think it is BEA certified but I had no problems whatsoever using it on a 98....


  3. Which server r u using anyway.

    Download BEA's weblogic 5.1 from the site and also download their jdbc driver for MS SQL server, and be happy