EJB+JSP versus PHP

What is the advantage of using EJB+JSP for a web ticket selling application instead of using PHP?
Can Java support more customer hits compare to PHP?
Is EJB+JSP better than PHP? Why?

I know both PHP and Java. PHP is a more rapid development tool than Java. Once you know it, it is just easier to make simple pages out of it vs Java. In some ways PHP is easier to develop in and in some ways it is harder.
There is no real IDE for PHP. There are some tools for real time syntax checking (Komodo) and debugging, but they are not as mature as the pick of current Java IDE's.
In reverse, there is never a need to restart a server when updating a php file unlike Java. This is not a problem with JSP's, but when you change servlets the server will unload all classes from memory and reload. This is a major pain if you are working on a production server.
I have created a game clan site with many functions using PHP and an order processing section of someones web site. It is fine for smaller projects and is very fast to develop in, however PHP does not scale as well as Java. A large enterprise system is better suited to using Java.
Also, PHP is a loosely typed language. This has many nuances that are different from a strongly typed language like java. OOP is definately not as powerful in PHP, as there is no private, protected and public typing of methods and fields. You can make classes and even extend classes, but it is poorly implimented IMO. I did all my PHP OOP style, but did not use any inheritance. The limitations of OOP principles is probably the most restrictive aspect of PHP that I can see.

Similar Messages

  • JSP versus PHP

    Is there anything JSP does better than PHP?

    PHP is a good scripting language, probably the best one. It does the same job as ASP only much better. I would suggest that JSP can actually do a whole lot more than that because you have the full functionality of the programming language behind it rather than being purely designed for web scripting. This gives flexibility and the jsp/servlet/bean architecture also offers far greater options for re-use and extension than php offers.

  • In Dreamweaver MySites[New Site] menu option , if I had a hosting JSP/PHP what I must declare the hosting JSP or PHP ?

    In Dreamweaver MySites[New Site] menu option , if I had a hosting JSP/PHP what I must declare the hosting JSP or PHP ?

    The simplest answer is to choose the language you work best with, and that fits the clients specification the best.
    I have mixed server languages on a site before, (would not recommend) when a client has decided they wish to change from their old one to a new(er) /different one, the only thing you must watch if doing this, is that you do not mix languages on the same page (will not work correctly, if at all), and parameter passing.
    PZ

  • JSP ASP PHP (and others)

    Does anyone know how many projects are implementing JSPs in comparison to those using .asp (and others)? I was just curious.. There's an "unfair" (I think) comparison (March 2002) here http://php.weblogs.com/popularity

    .ASP being the widest used. I think .jsp and .php are somewhere close to each other in the amount of projects out there.
    Hope this helps

  • JSP v PHP

    What is the difference, if any, between the abilities of JSP and PHP.
    Too many different technologies competing in the same space makes my head spin..

    PHP is more for dynamic content
    in websites, while JSP's and servlets are used in
    webbased applications built on top of Java.I disagree. If you use JSP tags, it's quite dynamic.
    One difference I'd like to point out is that JSP is based on Java and HTML, which are existing technologies you may already know. PHP is something new and you'd have to learn a new language/syntax. To me that's a real turn-off and I probably won't be using PHP anytime soon. I already use several languages and dozens of API's.

  • JSP and PHP ?!

              is it possible to include a php file into a JSP with the include tag?
              infos:
              the php file is on another server as the jsp file.
              the php server doens'nt support jsp and vice versa.
              hope anyone can help!!!!
              bye
              Phil
              

    Am I being an idiot or is there ever a reason for
    using JSP over PHP?A very large number of people have chosen to write their websites (or at least the user interface part) in JSP. They can't all be idiots.

  • Does apex support any server side JSP or PHP?

    I have the folowing script that is used to save flash files as images. I am hoping there is some way to make these serverside calls from within apex.
    <%@ page import="java.io.OutputStream"%>
    <%@ page import="java.awt.Color"%>
    <%@ page import="java.awt.Graphics"%>
    <%@ page import="java.awt.image.BufferedImage"%>
    <%@ page import="javax.imageio.ImageIO"%>
    <%
         //Decoded data from charts.
         String data="";
         //Rows of color values.
         String[] rows;
         //Width and height of chart.
         int width=0;
         int height=0;
         //Default background color of the chart
         String bgcolor="";
         Color bgColor;
         //Get the width and height from form
         try{
              width = Integer.parseInt(request.getParameter("width"));
              height = Integer.parseInt(request.getParameter("height"));     
         catch(Exception e){
              //If the width and height have not been given, we cannot create the image.
              out.print("Image width/height not provided.");
              out.close();
         if(width==0 || height==0){
              //If the width and height are less than 1, we cannot create the image.
              out.print("Image width/height not provided.");
              out.close();
         //Get background color from request and set default
         bgcolor =request.getParameter("bgcolor");
         if (bgcolor==null || bgcolor=="" || bgcolor==null){
                   bgcolor = "FFFFFF";
         //Convert background color to color object     
         bgColor = new Color(Integer.parseInt(bgcolor,16));
         //Get image data  from request
         data = request.getParameter("data");
         if(data==null){
              //If image data not provided.
              out.print("Image Data not supplied.");
              out.close();
         try{
              //Parse data
              rows = new String[height+1];
              rows = data.split(";");
              //Bitmap to store the chart.
              //Reference to graphics object - gr
              BufferedImage chart = new BufferedImage(width,height,BufferedImage.TYPE_3BYTE_BGR);
              Graphics gr = chart.createGraphics();
              gr.setColor(bgColor);
              gr.fillRect(0,0,width,height);     
              String c;
              int r;
              int ri = 0;
              for (int i=0; i<rows.length; i++){
                   //Split individual pixels.               
                   String[] pixels = rows.split(",");               
                   //Set horizontal row index to 0
                   ri = 0;
                   for (int j=0; j<pixels.length; j++){                    
                        //Now, if it's not empty, we process it                    
                        //Split the color and repeat factor
                        String[] clrs = pixels[j].split("_");     
                        //Reference to color
                        c = clrs[0];
                        r = Integer.parseInt(clrs[1]);
                        //If color is not empty (i.e. not background pixel)
                        if (c!=null && c.length()>0 && c!=""){          
                             if (c.length()<6){
                                  //If the hexadecimal code is less than 6 characters, pad with 0
                                  StringBuffer str = new StringBuffer(c);
                                  int strLength = str.length();
                                  for ( int p = c.length()+1; p <= 6 ; p ++ ) {
                                            str.insert( 0, "0" );
                                  //Assing the new padded string
                                  c = str.toString();
                             for (int k=1; k<=r; k++){     
                                  //Draw each pixel
                                  gr.setColor(new Color(Integer.parseInt(c,16)));
                                  gr.fillRect(ri, i,1,1);
                                  //Increment horizontal row count
                                  ri++;                              
                        }else{
                             //Just increment horizontal index
                             ri = ri + r;
              //Returns the image
              response.setContentType("image/jpeg");
              response.addHeader("Content-Disposition", "attachment; filename=\"FusionCharts.jpg\"");
              OutputStream os = response.getOutputStream();
              ImageIO.write(chart, "jpeg", os);
              os.close();
         }catch(Exception e){
              //IF the image data is mal-formatted.
              out.print("Image data is not in proper format.");
              out.close();
    %>

    NO, APEX does NOT support running jsp or PHP scripts..
    Thank you,
    Tony Miller
    Webster, TX

  • Remove Default EJB/JSP Apps.

    Hi,
    I am wondering rather there are steps to remove the Default EJB/JSP Apps deployed in default installation.
    I only need to run servelt and web caches.
    Thanks,
    Stephen

    Weblogic 5.1 uses an architecture that is very unique. Consider it the
    exception, not the rule. You can NOT support a single deployment binary
    with WL 5.1 and other servers.
    The Weblogic 6.0 architecture is much closer to the others, and
    significantly better than the reference implementation's architecture. In
    6.0 you should be able to make a single app (EAR) that deploys to other
    servers as well.
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    +1.617.623.5782
    WebLogic Consulting Available
    "martin" <[email protected]> wrote in message
    news:3a6f070e$[email protected]..
    Hi,
    I have written an application that has EJBs, and JSPs that invoke the
    EJBs. It works on WebLogic 5.1.
    I want to package this application up in such a way that it can be
    deployed on any kind of J2EE application server.
    Using JBoss, I discovered that the JSPs by default do not have access to
    the interfaces supplied in the EJBs. i.e. I have to make copies of the
    EJB's home and remote interfaces, and put them where the JSP files can
    find them.
    This messing about was not neccessary with WebLogic. WebLogic knew to look
    in the EJB JAR files.
    So my question : For compatibility, should I create multiple copies of my
    EJB's interfaces, or is WebLogic's developer-friendly behaviour the
    correct one?
    Thanks, Martin.

  • EJB, JSP on web sphere

    Hello all
    Can someone suggest a beginner's book or introductory resources for writing J2EE applications using EJB, JSP on Web Sphere 5.0?
    thanks a bunch
    Mahesh :)

    For EJBs in general, "Bitter EJB" is a great book
    it's one you can read on the bus, as opposed to a reference manual

  • Passing values between jsp and php

    hi there, is it possible to pass values between jsp and
    php? i really need to find out the way if there is
    any. thanks in advance
    -azali-

    Yes, there are a few ways to do this.
    1) Think about using Cookies.
    2) Maybe use a Redirect passing the values in the Query string.
    3) Retain the data in a repository in the back end.
    4) Using Hidden fields within your pages.
    I am sure you can use these Idea's for a base to develop other methods on how to pass values back and forth from JSP -> PHP and vice versa.
    -Richard Burton

  • Super 1.5 - source code level tracing for EJB, JSP and others

     

    Would you want to try new installation for Super 1.6?
    Please visit www.acelet.com
    Thanks.
    "Dominique Jean-Prost" <[email protected]> wrote:
    If only your installation tool was easy to use ...
    dom
    "Wei Jiang" <[email protected]> a écrit dans le message news:
    [email protected]...
    Super supports source code level tracing for Java and JSP!
    Announcement: Super 1.5 - an EJB/J2EE monitoring tool with
    SuperPeekPoke
    SuperLogging
    SuperStress
    SuperEnvironment
    It is free for development.
    You can anomyously down load it from:
    http://www.acelet.com.
    Super is a component based administration tool for EJB/J2ee.
    It provides built-in functionality as well as
    extensions, as SuperComponents. Users can install
    SuperComponents onto it, or uninstall them from it.
    Super has the following functions:
    * A J2EE/EJB monitor.
    * A gateway to EJB servers from different vendors.
    * A framework holding user defined SuperComponents.
    * A PeekPoke tool to read/write attributes from EJBs.
    * A full-featured logging/tracing tool for centralized, chronologicallogging.
    * A Stress test tool.
    * A global environment tool.
    It is written in pure Java.
    The current version support:
    * Universal servers.
    * Weblogic 5.1
    * Weblogic 6.0
    What is new:
    Version 1.50 August, 2001
    Enhancement:
    1. Source code level tracing supports EJB, JSP, java helper and other
    programs which are written in native languages (as long as you
    write correct log messages in your application).
    2. Redress supports JSP now.
    3. New installation with full help document: hope it will be easier.
    4. Support WebSphere 4.0
    Version 1.40 June, 2001
    Enhancement:
    1. Add SuperEnvironment which is a Kaleidoscope with TableView,TimeSeriesView
    and PieView for GlobalProperties.
    GlobalProperties is an open source program from Acelet.
    2. SuperPeekPoke adds Kaleidoscope with TableView, TimeSeriesView andPieView.
    Changes:
    1. The structure of log database changed. You need delete old installationand
    install everything new.
    2. The format of time stamp of SuperLogging changed. It is not localedependent:
    better for report utilities.
    3. Time stamp of SuperLogging added machine name: better for clusteringenvironment.
    Bug fix:
    1. Under JDK 1.3, when you close Trace Panel, the timer may not bestopped
    and
    Style Panel may not show up.
    Version 1.30 May, 2001
    Enhancement:
    1. Add ConnectionPlugin support.
    2. Add support for Borland AppServer.
    Version 1.20 April, 2001
    Enhancement:
    1. Redress with option to save a backup file
    2. More data validation on Dump Panel.
    3. Add uninstall for Super itself.
    4. Add Log Database Panel for changing the log database parameters.
    5. Register Class: you can type in name or browse on file system.
    6. New tour with new examples.
    Bug fix:
    1. Redress: save file may fail.
    2. Install Bean: some may fail due to missing manifest file. Now, itis
    treated
    as foreign beans.
    3. Installation: Both installServerSideLibrary and installLogDatabasecan
    be worked
    on the original file, do not need copy to a temporary directory anymore.
    4. PeekPoke: if there is no stub available, JNDI list would be emptyfor
    Weblogic5-6.
    Now it pick up all availble ones and give warning messages.
    5. Stress: Launch>Save>Cancel generated a null pointer exception.
    Changes:
    1. installLogDatabase has been changed from .zip file to .jar file.
    2. SuperLogging: If the log database is broken, the log methods willnot
    try to
    access the log database. It is consistent with the document now.
    3. SuperLogging will not read system properties now. You can put logdatabase
    parameters in SuperLoggingEJB's deployment descriptor.
    Version 1.10 Feb., 2001
    Enhancement:
    1. Re-written PeekPoke with Save/Restore functions.
    2. New SuperComponent: SuperStress for stress test.
    3. Set a mark at the highlighted line on<font size=+0> the Source Code
    Panel (as a work-a-round for JDK 1.3).</font>
    4. Add support for WebLogic 6.0
    Bug fix:
    1. Uninstall bean does physically delete the jar file now.
    2. WebLogic51 Envoy may not always list all JNDI names. This is fixed.
    Version 1.00 Oct., 2000
    Enhancement:
    1. Support Universal server (virtual all EJB servers).
    2. Add Lost and Found for JNDI names, in case you need it.
    3. JNDI ComboBox is editable now, so you can PeekPoke not listed JNDIname
    (mainly
    for Envoys which do not support JNDI list).
    Version 0.90: Sept, 2000
    Enhancement:
    1. PeekPoke supports arbitrary objects (except for Vector, Hashtable
    and alike) as input values.
    2. Reworked help documents.
    Bug fix:
    1. Clicking Cancel button on Pace Panel set 0 to pace. It causes
    further time-out.
    2. MDI related bugs under JDK 1.3.
    Version 0.80: Aug, 2000
    Enhancement:
    1. With full-featured SuperLogging.
    Version 0.72: July, 2000
    Bug fix:
    1. Ignore unknown objects, so Weblogic5.1 can show JNDI list.
    Version 0.71: July, 2000
    Enhancement:
    1. Re-worked peek algorithm, doing better for concurent use.
    2. Add cacellable Wait dialog, showing Super is busy.
    3. Add Stop button on Peek Panel.
    4. Add undeploy example button.
    Bug fix:
    1. Deletion on Peek Panel may cause error under JDK 1.3. Now it worksfor
    both
    1.2 and 1.3
    Version 0.70: July, 2000
    Enhancement:
    1. PeekPoke EJBs without programming.
    Bug fix:
    1. Did not show many windows under JDK 1.3. Now it works for both 1.2and
    1.3
    Changes:
    1. All changes are backward compatible, but you may need to recompilemonitor
    windows defined by you.
    Version 0.61: June, 2000
    Bug fix:
    1. First time if you choose BUFFER as logging device, message willnot
    show.
    2. Fixed LoggingPanel related bugs.
    Version 0.60: May, 2000
    Enhancement:
    1. Add DATABASE as a logging device for persistent logging message.
    2. Made alertInterval configurable.
    3. Made pace for tracing configurable.
    Bug fix:
    1. Fixed many bugs.
    Version 0.51, 0.52 and 0.53: April, 2000
    Enhancement:
    1. Add support to Weblogic 5.1 (support for Logging/Tracing and
    user defined GUI window, not support for regular monitoring).
    Bug fix:
    1. Context sensitive help is available for most of windows: pressF1.
    2. Fix installation related problems.
    Version 0.50: April, 2000
    Enhancement:
    1. Use JavaHelp for help system.
    2. Add shutdown functionality for J2EE.
    3. Add support to Weblogic 4.5 (support for Logging/Tracing and
    user defined GUI window, not support for regular monitoring).
    Bug fix:
    1. Better exception handling for null Application.
    Version 0.40: March, 2000
    Enhancement:
    1.New installation program, solves installation related problems.
    2. Installation deploys AceletSuperApp application.
    3. Add deploy/undeploy facilities.
    4. Add EJB and application lists.
    Change:
    1.SimpleMonitorInterface: now more simple.
    Version 0.30: January, 2000
    Enhancement:
    1. Add realm support to J2EE
    2. Come with installation program: you just install what you want
    the first time you run Super.
    Version 0.20: January, 2000
    Enhancement:
    Add support to J2EE Sun-RI.
    Change:
    1. Replace logging device "file" with "buffer" to be
    compliant to EJB 1.1. Your code do not need to change.
    Version 0.10: December, 1999
    Enhancement:
    1. provide SimpleMonitorInterface, so GUI experience is
    not necessary for developing most monitoring applications.
    2. Sortable table for table based windows by mouse
    click (left or right).
    Version 0.01 November., 1999:
    1. Bug fix: An exception thrown when log file is large.
    2. Enhancement: Add tour section in Help information.
    Version 0.00: October, 1999
    Thanks.

  • Ias support for EJB, JSP/servlets,JDBC, connection pooling, XML, SOAP, load balancing etc

    Please let me know where I can find more information regarding iPlanet usage/deployment/configuring/tuning etc for support of technologies - like EJB, JSP/servlets, JDBC, connection pooling, XML, load balancing, JDBC & Transactions
    (I have already read the 'Getting Started with the iPlanet Application Server' part five and six - http://developer.iplanet.com/appserver/testdrive/partfive.jsp and partsix.jsp)(I am using the ias testdrive version).

    Hi,
    It's difficult to explain unless the J2EE architecture is understood. Also, explaining things like load balancing, Transactions, tuning, are bit vague and could blow the disk space of this site.
    To get started, the best way is to test the sample applications and the best part is you don't require internet connection to follow each steps. Install iWS and iAS, open browser, type in http://hostname:port/ias-samples/index.html. You can find links to the sample applications bundled. Please follow the steps given on deploying the application. This will enable you to a higher level.
    Regards
    Ganesh .R
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support

  • Extremely difficult to debug, about EJB, JSP

    These codes are in a JSP page, an EJB will be looked up:
    addcd.jsp
    <%!
       private CDAdder cdadder = null;
       public void jspInit() {
          try {
             InitialContext ic = new InitialContext();
             Object objRef = ic.lookup("CDAdderBean");
            CDAdderHome home = (CDAdderHome)PortableRemoteObject.narrow(objRef, CDAdderHome.class);
             cdadder = home.create();
          } catch (RemoteException ex) {
                System.out.println("Remote Exception:"+ ex.getMessage());
          } catch (CreateException ex) {
                System.out.println("Create Exception:"+ ex.getMessage());
          } catch (NamingException ex) {
                System.out.println("Unable to lookup home: " + ex.getMessage());
       public void jspDestroy() {   
             cdadder = null;
    %>
    <%
    HttpSession httpsession=request.getSession();
    httpsession.setAttribute("cdadder",cdadder); //i want to add this object to the session so that i could retrieve it and use its methods in other JSP pages.
    %>
    <form method="post" action="addtrack.jsp">
    <input type=text name="TitleOfTrack">
    <input type=text name="DurationOfTrack">
    <input type="submit">
    </form>
    ......................................addtrack.jsp
    <%
    CDAdder cdadder=(CDAdder)request.getSession().getAttribute("cdadder");// get back the object in the session
    String TitleOfTrack=request.getParameter("TitleOfTrack");
    String DurationOfTrack=request.getParameter("TitleOfTrack");
    cdadder.addTrack(new Track(TitleOfTrack,DurationOfTrack) ); //add the Track object into the arraylist using the addTrack(Track track) method in the CDAdderBean
    response.sendRedirect(addcd.jsp); //redirect back to the addcd.jsp page
    %>CDAdderBean.java
    public class CDAdderBean implements SessionBean {
         // data item to hold a reference to a passed Session context     private SessionContext ctx;
         private ArrayList tracks=new ArrayList();   << This arraylist holds the Track objects
         public void addTrack(Track track) throws RemoteException{
              tracks.add(track); //one method for adding tracks to the arraylist
         public void removeTrack(int index) throws RemoteException{
              tracks.remove(index); //another method for removing a track from the arraylist
         public ArrayList getListOfTracksAL() throws RemoteException{
    return tracks;
    ...............................Each time the user enters the required fields(title,duration) to add a track, these parameters will be passed to the addtrack.jsp, and the addtrack.jsp will retrieve the cdadder object from the session and use its addTrack method to add the track to the arraylist. And when it finishes, it will redirect back to the addcd.jsp. I got some other codes in the addcd.jsp(I did not show it as it will look very messy), anyway, the codes includes a call to the getListOfTracksAL() method which will return an arraylist of Track objects.
    my problem is that, EVERY TIME i started the sun application server, and go to the addcd.jsp, then the FIRST TIME I entered all the required fields and click submit button . I expected the parameters would be passed to the addtrack.jsp and it would add the track to the arraylist for me and then returned to addcd.jsp and the addcd.jsp would display the track that I just tried to add.
    but it didn't.
    I am sure that it DID add the track to the arraylist because i tried to print the size of the arraylist after the addTrack method was invoked.
    the most strange thing was that the addcd.jsp would display the tracks correctly after the FIRST TIME of adding a track.
    Please take a look at this link if you have time:
    http://222.166.192.130:8080/E-Music/login.jsp
    username:aaaaaa
    password:aaaaaa
    choose the role as "Admin"
    Add new music recording
    note: processor.jsp in this web server is the addtrack.jsp I was referring to.
    Many thanks to you all.

    ya
    i tried to add some println statements and noticed that:
    the first time i tried to add a track, the addTrack method was really invoked and the size of the arraylist became 1
    but when it returns to the addcd.jsp page the arraylist became empty
    but the most strange thing was that, it worked correctly AFTER the first time.
    thank you very much for your advice.

  • EJB/JSP integration?

    Hi,
    I have written an application that has EJBs, and JSPs that invoke the
    EJBs. It works on WebLogic 5.1.
    I want to package this application up in such a way that it can be
    deployed on any kind of J2EE application server.
    Using JBoss, I discovered that the JSPs by default do not have access to
    the interfaces supplied in the EJBs. i.e. I have to make copies of the
    EJB's home and remote interfaces, and put them where the JSP files can
    find them.
    This messing about was not neccessary with WebLogic. WebLogic knew to look
    in the EJB JAR files.
    So my question : For compatibility, should I create multiple copies of my
    EJB's interfaces, or is WebLogic's developer-friendly behaviour the
    correct one?
    Thanks, Martin.

    Weblogic 5.1 uses an architecture that is very unique. Consider it the
    exception, not the rule. You can NOT support a single deployment binary
    with WL 5.1 and other servers.
    The Weblogic 6.0 architecture is much closer to the others, and
    significantly better than the reference implementation's architecture. In
    6.0 you should be able to make a single app (EAR) that deploys to other
    servers as well.
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    +1.617.623.5782
    WebLogic Consulting Available
    "martin" <[email protected]> wrote in message
    news:3a6f070e$[email protected]..
    Hi,
    I have written an application that has EJBs, and JSPs that invoke the
    EJBs. It works on WebLogic 5.1.
    I want to package this application up in such a way that it can be
    deployed on any kind of J2EE application server.
    Using JBoss, I discovered that the JSPs by default do not have access to
    the interfaces supplied in the EJBs. i.e. I have to make copies of the
    EJB's home and remote interfaces, and put them where the JSP files can
    find them.
    This messing about was not neccessary with WebLogic. WebLogic knew to look
    in the EJB JAR files.
    So my question : For compatibility, should I create multiple copies of my
    EJB's interfaces, or is WebLogic's developer-friendly behaviour the
    correct one?
    Thanks, Martin.

  • EJB & JSP

    I'm developing application using J2EE 1.3 beta version, with JDK 1.3.
    The application uses JSP to access EJB, said the JSP is contained in a
    Web component.
    In my JSP, I do a lookup to EJB Home object (as shown on the error
    message below). It works fine under beta version.
    Recently, I upgraded to J2EE 1.3.1 final release version, with J2SDK
    1.3.1_02. When my JSP try
    to access EJB, it throw out this message.
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server
    Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occured between lines: 6 and 39 in the jsp file:
    /DepartmentList.jsp
    Generated servlet error:
    /usr/local/j2sdkee1.3.1/repository/valerian.wise-x.com/web/isodms/DepartmentList$jsp.java:77:
    Class org.apache.jsp.ListSesHome not found.
    ListSesHome listHome =
    ^
    An error occured between lines: 6 and 39 in the jsp file:
    /DepartmentList.jsp
    Generated servlet error:
    /usr/local/j2sdkee1.3.1/repository/valerian.wise-x.com/web/isodms/DepartmentList$jsp.java:78:
    Class org.apache.jsp.ListSesHome not found.
    (ListSesHome)PortableRemoteObject.narrow(objref,
    ListSesHome.class);
    ^
    An error occured between lines: 6 and 39 in the jsp file:
    /DepartmentList.jsp
    Generated servlet error:
    /usr/local/j2sdkee1.3.1/repository/valerian.wise-x.com/web/isodms/DepartmentList$jsp.java:78:
    Class org.apache.jsp.ListSesHome not found.
    (ListSesHome)PortableRemoteObject.narrow(objref,
    ListSesHome.class);
    ^
    An error occured between lines: 6 and 39 in the jsp file:
    /DepartmentList.jsp
    Generated servlet error:
    /usr/local/j2sdkee1.3.1/repository/valerian.wise-x.com/web/isodms/DepartmentList$jsp.java:79:
    Class org.apache.jsp.ListSes not found.
    ListSes listSession = listHome.create();
    ^
    An error occured between lines: 95 and 109 in the jsp file:
    /DepartmentList.jsp
    Generated servlet error:
    /usr/local/j2sdkee1.3.1/repository/valerian.wise-x.com/web/isodms/DepartmentList$jsp.java:135:
    Class org.apache.jsp.DeptInfo not found.
    DeptInfo department =
    (DeptInfo)i.next();
    ^
    An error occured between lines: 95 and 109 in the jsp file:
    /DepartmentList.jsp
    Generated servlet error:
    /usr/local/j2sdkee1.3.1/repository/valerian.wise-x.com/web/isodms/DepartmentList$jsp.java:135:
    Class org.apache.jsp.DeptInfo not found.
    DeptInfo department =
    (DeptInfo)i.next();
    ^
    6 errors
    at
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
    at
    org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:551)
    at
    org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
    at
    org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
    at
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    at
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at
    org.apache.catalina.core.ApplicationFilterChain.access$0(ApplicationFilterChain.java:197)
    at
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
    at java.security.AccessController.doPrivileged(Native Method)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at
    org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:368)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at
    org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at
    org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
    at
    org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
    at java.lang.Thread.run(Thread.java:484)
    All EJB's Ref were properly defined in WAR, but it still can't access to
    those classes.
    I have even added in all EJB Home & Remote interface classes to the WAR
    under the directory of WEB-INF/classes.
    I did not put EJB class under any package with the package statement.
    If package if the main problem, is here any work arround solution to
    avoid packaging my EJB classes?
    Thanks for help.

    Package solved the problem.
    Work around solution :- include import statement for classes used.

Maybe you are looking for