New to J2ee

i hav installed j2sdk
my problem is it shows error as
"Out of environment space
ERROR: Set JAVA_HOME to the path of a valid jdk."
also it shows error in set J2EE_HOME path also..
plz cud any one resolve my problem, by clearly telling me how to set PATH, CLASSPATH and set JAVA_HOME,
J2EE-HOME.
thanking u'
G.RAMESH

Take al look at these sun online trainings. Especialy lesson 1. Somewhere just beneath figure 2 there's a passage called "J2EE sorfware and setup". It describes setting up the environment variables ( JAVA_HOME, J2EE_HOME, path etc) for both unix and windows.
J2EE training: http://java.sun.com/developer/onlineTraining/J2EE/Intro2/j2ee.html
lesson 1: http://java.sun.com/developer/onlineTraining/J2EE/Intro2/servlet/servlet.html

Similar Messages

  • What's new in J2EE 1.4

    Is there a good paper that dicuss's on what's new in J2EE 1.4 over 1.3

    Yes
    http://java.sun.com/j2ee/sdk_1.4/beta/techdocs/release/ReleaseNotes.html

  • I'm new to j2ee and need to make a project

    Hi everyone,
    I'm TOTALLY new to j2ee(but not to java).
    My profesor told me to write a wep aplication with use of jsp:
    1. You register to the page
    2. You login to the page
    3. You go to the page you chose a topic of a report
    4. Your chice is rememberd. You are given a deadline to send the report.
    5. If you have the report you login/go to the send_report site
    6. You choose the directory on you pc and press send button
    7. The report(.pdf) is now stored on the server
    8. If you haven't yet crossed the deadline you can still update the report file(even if it's name is different)
    8. Now if you have crossed the deadline on the send_report page you have message informing that you have already send the report.
    My Prof. also told me I can (don't have to) use jetty server instead of tomcat. I can also use SpringFramework.
    I also have to use j4log.
    It would be great if some of You could give me some help with that. What and in which order should I read(books, articles, tutorials) to learn most effectively. I have time till the end of January to finish the project.
    Thanx to ALL!

    Hi everyone,
    I'm TOTALLY new to j2ee(but not to java).
    My profesor told me to write a wep aplication with
    use of jsp:
    1. You register to the page
    2. You login to the pageYou can probably store and maintain all these values in a SQL DB. To access it, you can use JDBC. You may want to write a utility class that will do the actual query execution and for example, will return an object [ ] [ ] with the results of a select query. Then you could just see if the username & password matches one of the entries.
    You can get the values using request.getParameter("my_form_elementname");
    3. You go to the page you chose a topic of a report
    4. Your chice is rememberd. You are given a deadline
    to send the report.You can set attributes in the session if you want the values to be accessed on other pages. session.getAttribute() will then return the value later. (but the values are lost when the current window is closed)
    5. If you have the report you login/go to the
    send_report site
    6. You choose the directory on you pc and press send
    buttonThey've made step 6 quite easy for you! It's just simple html:
    <input type='file' size = 75 name='my_fileinput'/>
    The size should be long enough for filename to fit.
    7. The report(.pdf) is now stored on the server
    8. If you haven't yet crossed the deadline you can
    still update the report file(even if it's name is
    different)
    8. Now if you have crossed the deadline on the
    send_report page you have message informing that you
    have already send the report.The implementation is up to you, but I'm thinking you can have a unique directory for each user. In that directory you could have a props file with the name & deadline for each report [of course you want to make sure this is hidden from public access by putting it in the WEB-INF folder.
    >
    My Prof. also told me I can (don't have to) use jetty> server instead of tomcat. I can also use> SpringFramework.> > I also have to use j4log.  Ah...the joys of configuring log4j. You want to make sure the log4j.xml file specifiying what to log & where is in your source folder (and copied over to the classes folder during compilation). That's why I couldn't get it working for a while. Also, if you don't want everything cluttering up a single log file, make sure that you setAdditivity(false) on everything except your root logger.> > It would be great if some of You could give me some> help with that. What and in which order should I> read(books, articles, tutorials) to learn most> effectively. I have time till the end of January to> finish the project.Whew! As you can see, java, tomcat, jsp's, even just html, there's a TON of stuff out there. Here's what I would recommend:1)Deitel & Deitels' book "Java how to Program" 6th edition. The latest edition has what you need to know about using JDBC (for databases), and JSP's & servlets(including setting up tomcat).2)I would say forget about jetty/spring framework, they're not as widely used as tomcat, and what you learn working with tomcat is far more practical. It's not hard to set up. You can download either tomcat 4.1 or tomcat 5 (which is needed for some of the newer java stuff) from the tomcat site: http://tomcat.apache.org/   Configuration is not all that hard, about the most you'll have to do is change some of the ports you connect on. 3)There are plenty of resources out there on working with jsp's, sql databases, and if you have any more specific questions, you can always post them here!> > Thanx to ALL!Hope this was useful!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • New to J2EE; Best Practices

    Hi everyone, and thanks in advance for all of your help.
    I'm somewhat new to J2EE, at least in the sense of creating my own application. I work for a small software company in New England, and have to work on an enterprise application as part of my job; unfortunately, I don't get much exposure to the total of J2EE. Instead, most of my work is on small extensions, database scripts, or external projects that don't quite give me the exposure I'm looking for.
    As an exercise, I've decided to put together a sample J2EE application. I've spent time reading the (many) J2EE tutorials out there, but I'm having trouble putting it all together. This application works, but I know that I've used some bad patterns, and was hoping to get some feedback. My application consists of 4 Java classes and 8 JSPs, but none over 100 lines, and only 1 above 50.
    One final note before I start: yes, I know there are some frameworks out there that would help; I plan on migrating to Struts at some point. However, I wanted to make sure I understand the core J2EE structure before I delved into that.
    My application simply allows a user to add, edit, or delete entries in a database. The database consists of 1 table (Projects), with two fields: an id, and a name.
    The first page, Projects.jsp, lists the current projects in the database for the user:
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ page pageEncoding="UTF-8" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <jsp:useBean id="projectsDAO"
                 class="com.emptoris.dataAccess.ProjectsDataAccessObject"
                 scope="application" />
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
      <head>
        <title>Projects</title>
      </head>
      <body>
        <form name="projectsForm"
              action="<%= response.encodeURL("ProjectsController.jsp") %>"
              method="post">
          <c:if test="${projectsDAO.projects.numberOfProjects > 0}">
            <table>
              <tr>
                <th>Select</th>
                <th>ID</th>
                <th>Name</th>
              </tr>
              <c:forEach items="${projectsDAO.projects.projects}" var="project"
                         step="1">
                <tr>
                  <td>
                    <input type="radio" name="projectId" value="${project.id}" />
                  </td>
                  <td><c:out value="${project.id}" /></td>
                  <td><c:out value="${project.name}" /></td>
                </tr>
              </c:forEach>
            </table>
            <input type="submit" name="action" value="Edit Project" />
            <input type="submit" name="action" value="Delete Project" />
          </c:if>
          <input type="submit" name="action" value="Add New Project" />
        </form>
      </body>
    </html>The ProjectsDataAccessObject is a class that simply mirrors the table in the database. Adding, editing, or removing entries in this class will modify the database accordingly:
    package com.emptoris.dataAccess;
    import java.sql.*;
    import com.emptoris.model.*;
    public class ProjectsDataAccessObject {
        private Connection connection;
        private Statement statement;
        private Projects projects;
        public ProjectsDataAccessObject() throws ClassNotFoundException,
            SQLException {
            Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
            connection =
                DriverManager.getConnection(
                    "jdbc:microsoft:sqlserver://AFRASSO:1433", "sa", "password"
            statement = connection.createStatement();
            statement.execute("USE test");
        public Project getProject(int id) throws SQLException {
            Projects projects = getProjects();
            Project project = projects.getProject(id);
            return project;
        public Projects getProjects() throws SQLException {
            if (projects == null) {
                projects = new Projects();
                String query = "SELECT id, name FROM Projects";
                ResultSet resultSet = statement.executeQuery(query);
                Project project;
                while(resultSet.next()) {
                    project = new Project();
                    project.setId(resultSet.getInt(1));
                    project.setName(resultSet.getString(2));
                    projects.addProject(project);
            return projects;
        public void addNewProject(Project project) throws SQLException {
            String query =
                "INSERT INTO Projects (name) VALUES ('" + project.getName() + "')";
            statement.execute(query);
            query =
                "SELECT MAX(id) FROM Projects";
            ResultSet resultSet = statement.executeQuery(query);
            resultSet.next();
            project.setId(resultSet.getInt(1));
            projects.addProject((Project) project.clone());
        public void removeExistingProject(int id) throws SQLException {
            String query =
                "DELETE FROM Projects WHERE id = " + id;
            statement.execute(query);
            projects.removeProject(id);
        public void updateExistingProject(Project project) throws SQLException {
            String query =
                "UPDATE Projects SET name = '" + project.getName() +
                    "' WHERE id = " + project.getId();
            statement.execute(query);
            projects.getProject(project.getId()).setName(project.getName());
    }So the first question I have is: is this appropriate? I've set up the data access object correctly? I feel like I'm basically reproducing the Projects class... do I even need this class anymore? I certainly don't use it in any of the JSP pages (as you will see).
    Also, I've simply added it to the application context here. Is that the correct way to create and access a data access object like this one?
    The second question is: the form's action parameter is a JSP page that acts as a semi-controller, reads the parameters from the form, and passes that information to a class, which then determines where next to send the application. Does this make sense? I'm not really sure of the idea of using a JSP page as a controller, but I don't know any other way to get the results of the form to the controller class.
    Here is the controller JSP, ProjectsController.jsp:
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ page pageEncoding="UTF-8" %>
    <jsp:useBean id="projectsDAO"
                 class="com.emptoris.dataAccess.ProjectsDataAccessObject"
                 scope="application" />
    <jsp:useBean id="projectsController"
                 class="com.emptoris.controller.ProjectsController"
                 scope="request">
      <jsp:setProperty name="projectsController" param="action" property="action" />
    </jsp:useBean>
    <jsp:forward page="<%= response.encodeURL(
                               projectsController.getDestinationPage()
                           ) %>" />and here is the ProjectsController class:
    package com.emptoris.controller;
    public class ProjectsController {
        private String action;
        public ProjectsController() {
        public String getDestinationPage() {
            if (action.equals("Add New Project"))
                return "AddProject.jsp";
            else if (action.equals("Edit Project"))
                return "EditProject.jsp";
            else if (action.equals("Delete Project"))
                return "DeleteProject.jsp";
            return null;
        public void setAction(String action) {
            this.action = action;
    }I'll stop there. I think this is enough information to give me feedback on what I've done thus far. If I've been unclear about something, please let me know and I'll fill in the blanks, or post more code if necessary. Also, feel free to comment on other aspects of the design and style that you see in this code; I'm here to learn, so even if I haven't brought it up, that just means I don't yet see the issues of what I've done yet. :)
    Thanks again for all of your help!
    Regards,
    Anthony Frasso

    hi,
    My best advise not to for any IDE.
    If you do all the things manually, you will get the idea of the reason of doing. if you go with IDE, for ex, if you are creating session bean, IDE itself will create some files for you, these things you will not get to know.
    if you create these things manually, usually you will get lot of errors, so you will get lot of experience than using any IDE.
    if you are going to develop any project or application at that time you can use NetBeans or eclipse or some other ide u like.

  • I am new to J2EE. Need your help

    Hi, everyone,
    I am a new guy to J2EE.
    I have done some readings for J2EE by myself.
    But as its structure is so complex such that I am getting more and more confuse about it, feel like I am walking in the dark and never find a way out.
    Could anyone please tell me what book or reading resources I should read to learn J2EE? I am looking for a book which can give me a glance and clear introduction to J2EE and hence I can find which direction I should follow on. If the book has a lot of explanations with graphs, patterns, diagrams will be better.
    I appreciate any suggestions from you.
    Thank you very much.

    Hi,
    I share the same sentiment. I too am currently in the process of learning and understanding J2EE. I've read books and tutorials about it and like all other newbies, have that feeling of vagueness and not really grasping the concept yet.
    But later on I realized that the best way for me to know J2EE is to see the big picture first. It's like if you're in a new place, the best thing to do is to look at its map so you can see the whole picture, rather than working on one street after the next. Then after you've seen the whole picture, you can set divisions or areas to work on. Later on you'll understand how they relate to each other.
    With J2EE, I tried following the chapters of books starting from Servlets, JSP, to JSF... just getting more tired and wondering how long will it take for me to learn J2EE. I know patience is a virtue but there is also the concept of working smart vs. working hard. So I tried to get some overviews of J2EE first. Understanding that it is all about 3-tier architecture - Client, Server, Database. That's it. Each of those subjects you read from those books belong to one of them, client, server, database. So you can categorize the subjects and plan out what to learn first. And later on you'll be able to make your first simple project run and understand more and more concepts. You'll understand it's strengths and why it's a good technology.
    I know I'm not an expert to be in the authority to teach about j2ee but I just wanna share things from a beginner's eye. Hope this helps.

  • New to J2EE and web development in java

    Hi folks,
    I have been developing desktop app in C# for the past two years. But now I am taking my masters and I am learning in Java. I am also interested in J2EE and wanted to develop web apps in Java. The problem is, I am very much confused with the tools, classes and etc Java uses. For example people say to me, you have to know Struts, Spring, JSP, Ant, Tomcat, Apache Tomcat, Hibernate, and etc. I tried to search every one of those and got some clue but not that much detail and now I am really confused.
    Before I go to coding (which is my interest), I wanted to know what tools to know and why and how they are used, at least the basics. Once I get some idea, I will keep on searching by myself. Can any body please tell me or give me a link of what tools I have to start with as a begineer web developer? Can any body give me a brief description about them?I downloaded Eclipse and I am almost familier on how to use it and I also write some code on it. These days, I downloaded J2EE, Struts, and Hibernate but I dont know how to use them and where to use them. No clue. Help me guys.
    Thank you.

    Step 1 : Download "Eclipse IDE for Java EE Developers". You don't need anything else in terms of tools at the start.
    Step 2 : Get solid experience in basic Java development. Make sure you are very comfortable with the language and core API classes such as I/O, collections, etc. Do this in a basic Java project in Eclipse.
    Step 3 : Learn JSP and Servlets. These two technologies are the foundation of Java EE web app development. Use "Dynamic Web Project" in Eclipse and Tomcat as your server. For a good exercise, build a web app to manage a catalog of something by reading/writing to a text file local to the server.
    Step 4 : Learn JPA. This is the standard for modern Java database access. Make sure you learn JPA standard rather than a specific implementation like Hibernate. In fact, since you are asking on an Oracle site, I would recommend EclipseLink implementation of JPA rather than Hibernate. For an exercise take your app from Step 3 and make it use a database instead of a file. Use MySQL as your database.
    By the time you get this far you will have a good foundational knowledge of Java EE web development. Where you go from here will depend on your interests. If you are more interested in the web tier, you can learn some of the higher-level front-end technologies such as JSF or Struts that make it easier to build very large apps. If your interests are more in middle tier and scalability, start learning EJBs. Don't bother learning Ant or Maven unless your interests are specifically in build systems and release engineering. You don't need to know Ant/Maven to build/run/export Java EE applications in Eclipse.
    Good luck!
    - Konstantin

  • New to j2ee...should i use ejbs?

    read on coz this can be interesting.....
    I am an inexperienced web developer. i am looking to develop a web application where tickets can be sold over the net.
    one of my immediate goals is to develop a web application where users can book tickets only not purchase them.currently the web app needs to facilitate for a max of 200 users-people who can book tickets, think of them as admin.
    in the long term the web app will evolve and cater for all users, internet users and admin.i think i need to use ejbs.i want to start with the immediate goal(facility for admin) and build on that to facilitate internet users.the web app will be huge when complete.
    now, the problem is that i have only developed a tiny j2ee project prior to this and that wasn't a web app-it was just a normal application. i don't have the experience(OBVIOUSLY).i don't even know how to deploy a web app or which app server to use(i have downloaded the sdk1.4)!
    i am thinking about developing the admin facility with just using javabeans,servlets,html,jsp and tomcat4.1.30-all of which i am comfortable with.
    what is a feasible solution to my problem considering that the longterm will only be achieved after a period of 2-3 years???(hopefully, by then i will have the experience :-)).
    How should i go about it?
    you know this can be a forum on its own!!!!
    Don't be shy to contribute....
    regards
    Ushanta

    EJB are certainly not needed.
    I've worked on creating an e-commerce site which runs successfully without any EJB and am now working on a very large web application (intranet style) which is selling well and doesn't use EJB (this app has over 500 JSPs and nearly a thousand classes by now and is still growing, to give an idea of scale).
    EJB are often overblown. There was a study (Gartner I think) in 2001 which calculated that in the US alone there had been $2 billion wasted on EJB projects that didn't need EJB (projects either failed because EJB were used or would have been cheaper implemented without them).
    That was before EJB REALLY took off as a hype...
    Start without. If you find yourself in a situation where you have a definite business requirement for them you can always implement some for the limited use you do find.

  • New to J2EE and SUN development tools

    Greetings:
    I'm confused. I recently purchased the book "Enterprise J2ME" where the first sample app (iFeedBack) requires a J2EE-compliant server. Regarding deployment of this application, the Java Web Services Developer Pack engine is also mentioned. Here is the text regarding the iFeedBack app that I want to build and deploy:
    page 35
    "The application download package has three subdirectories, each containing an application component. You can ust the ANT build.xml script in each directory to build and deploy the component.
    Directory surveyserver contains a sample survey server application. After running ANT, a file bin/iFeedBackSurvey.ear is generated. It can be deployed to any J2EE-compliant server (J2EE v1.3 RI is tested). If this is the first time you deploy it, you need to run the sql/Init.sql script against your default database.
    Directory singlesignon contains an example single sign-on toke service. Currently, all usernames and passwords are hardcoded into the source code for simplicity. Obviously, in real-world development, it must be hooked up with campus identity databases. File deployable.war is produced by the ANT script and can be deployed to the Java Web Services Developer Pack v. 1.0 engine."
    My question is this: I thought I could download the Sun Studio Creator to get the Sun App Server to run the server portion of this code on my Mac OS X environment. But then the text above also refers to the JWSDP engine. So what tools do I really need and what are the distinctions and how do the following tools RELATE to each other?:
    - Sun Java Studio Standard 5 update 1
    - Java Web Services Developer Pack 1.5
    - Sun Java System Application Server
    Am I correct in assuming that the Sun Java Studio contains both the Application Server as well as the JWSDP? Also, what is the difference between Sun Java Studio Creator and the Sun Java Studio Standard?
    Also, the source code for the iFeedBack app (which won a $20,000 award) is available at http://www.enterprisej2me.com/pages/enterprisej2me/book.php
    I am working through SUN's The J2EE Tutorial and trying to gather the tools necessary to run the tutorial code on my Mac.
    Thanks for the guidance,
    Alex

    Creator is a drag-and-drop IDE for creating web applications (servlets, JSP, JSF). Studio Standard/Enterprise is a traditional general purpose IDE. Both Creator and Standard/Enterprise are built on NetBeans, the open source IDE.
    The Java Web Services Developer Pack is a distribution for creating web service-enabled web applications, and is built on Apache Tomcat. The technologies included in the JWSDP are also included in the J2EE SDK/Application Server 8/8.1 PE. The J2EE SDK/Application Server 8 is a full J2EE 1.4 server. Some versions of Studio 5 are bundled with Application Server 7 PE, a J2EE 1.3 server. I don't believe the JWSDP is bundled with Studio 5.
    Application Server 8 PE is bundled with Creator.
    If you are doing enterprise development, look into NetBeans 4.1 EA, which has a plugin for Application Server 8/8.1 PE and templates for web applications and session enterprise beans.
    -Ian Evans

  • New to J2EE Pls Help in some basic Problems

    Hello Friends! This is Anand. I had started working in J2EE recentelly. In start we r using J2EE server. but later we deployed same java beans on iPplanet server. it gives some problems. So can anybuddy told me answers of my following questions-
    1) What is basic difference in J2EE server and iPlanet.
    2) Is iPlanet is reliable server or suggest some reliable server(shoule i use Oracle 9i)
    3) Sometimes i come accross an error - Marshal Error or UnMarshal error. i cant understand what actually
    i have to change in my EJB.
    so pls guide me.
    - Thanks in advance

    Hello Friends.
    Thanks for quick replay.
    I am using J2EE server means which comes with J2EE 1.3
    Now I am using MySql and iPlanet Server. In that i always face a problem with database and i have to restart database server-
    Too many connection
    I am using a helper class for database connection. So if there is any better way to connect to database pls suggest
    (We are not using CMP Entity Beans)
    The class is as follows
    public class help
         public String server="localhost";
         public static String database="system";
         public String driver="org.gjt.mm.mysql.Driver";
         public String user="root";
         public String dns="jdbc:mysql://"+server+":3306/"+database+"?user=root&password=";
         String passward="";
         String password="";
         public help(){
    public class help10 extends help
    public Connection c = null;
    public Statement st = null;
    public ResultSet rs = null;
         public help10()
         public void connect()
              try
                   Class.forName(driver);
                   c=DriverManager.getConnection(dns,user,passward);
                   st=c.createStatement();
              }catch(Exception ex){e.printStackTrace();}
    public void disconnect()
              try
                   if(c!=null)
                        c.close();
              }catch(Exception ex){e.printStackTrace();}
              c = null;
    }

  • New to J2EE - stuck up with certain setting parameters

    Hi all,
    I downloaded The J2EE 1.4 Tutorial for Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2 . I installed server and unzipped the tutorials also.I followed the Application server installation tips as per tutorials.
    I am stuckup with "Building the examples " section of tutorilas. I need to set some properties like j2ee.home, j2ee.tutorial.home in the build.properties file. But the problem is dont know how to open the file as it is .properties extension file.
    Am I understanding the point correctly. Please let me know how to set the properties in the build.properties file. Thanks in advance.
    regards

    1-.properties files are plain text files so you can open them in any text editor.
    in windows notepad , write....
    a suggestion : try to set J2EE_HOME ,java_home , ant_home .... as an environment variables it make your life easier as most application looks for them . in windows you can do it by :right click on my computer / properties/advanced/environment variables .
    Try to use netbeans for learning and developing j2ee applications , imho you can kickstart faster , and you will understand concepts during your works .
    grab it from : www.netbeans.org , best option for now is netbeans 5 beta 2
    i remember that there was a copy of Sun j2ee tutorial , changed to comply with netbeans.
    to start application server just goto installation directory / domains / domain1/bin/startserv.bat Im sure that installer make a shortcut for starting and stopping both application server and Pointbase database.
    hth

  • New to J2ee. Book recommendations please.

    Hello,
    We're finally moving our Servlet/JSP/JDBC app to J2EE. Can anybody recommend a
    good book which covers in depth the following topics: EJBs(Session, Entity, Message
    Driven), JMS, JTA.
    Found quite a few on Amazon. A lil' confused on which to buy.
    We'll be running on weblogic 6.1. If there are any books written specifically
    for that, that would be great.
    Thanks a lot.
    Raj

    I'll steal Rob's thunder on this one.
    You need to check out:
    J2EE Applications and BEA WebLogic Server
    by Michael Girdley, Rob Woolen, and Sandra Emerson
    It is written by BEA Engineers who really know this stuff and it is specifically
    targeted at the WLS 6.x releases. Good book. I have a copy signed by the authors! ;-)
    Bill
    Rajan wrote:
    Hello,
    We're finally moving our Servlet/JSP/JDBC app to J2EE. Can anybody recommend a
    good book which covers in depth the following topics: EJBs(Session, Entity, Message
    Driven), JMS, JTA.
    Found quite a few on Amazon. A lil' confused on which to buy.
    We'll be running on weblogic 6.1. If there are any books written specifically
    for that, that would be great.
    Thanks a lot.
    Raj[att1.html]

  • NEW to J2EE----Class(within WEB-INF) can't access applet

    I admit I'm a newbie. Situation: an applet can import packages or individual classes that are located in WEB-INF dir. Is the reverse true, that the same classes can touch the applet? If so, how do you implement this, tried to import applet class, no luck though. I figure the reverse isn't true. Just wanted some ideas for a work around and or confirmation of my question. Thanks

    ok, security isn't an issue or concern since this is an intranet app. What I am trying to do is load and reload data to a JTable in an applet. The code that retrieves this data is located in WEB-INF. Is there a work around to make this work.

  • Iam new to j2ee plz solv my problem

    my priblem is
    i have tomcat server it works fine.but i have some problem with that
    first i starts tomcat server.in my system. iam using windows 2000 prof.
    then i opens the internet explorer
    and sent the request to server like this
    http://localhost:8000/manager/html
    but the browser will not sends any requst to server
    and the internet explorer displaye this page cannot be displayed
    in the server ,there is no requst information is recived from the browser.
    plz give me the solution for this
    how can i connect the tomcat server with internet explorer for doinr servlet programs.
    plz send me replay ti my question.

    u check out u r port number which u used to install the tomcat and type the same in the URL . i hope u will get u r need

  • New in java server pages and j2ee

    hello, im new in jsp and servlet..im new in j2ee..
    my OS is Windows XP ..
    i dont know how to start learning...
    i installed J2EE development kit.. also.. i start the server from (Start Default Server)
    i dont know how to create jsp files. and java files..
    where to write the java code and where to write html code..
    also.. where should i save these files.. i mean.. in which directory?
    i want to know how can i start the servlet and JSP.. someone told me.. to put http://localhost:8080.. when i put this in the browser.. it works correctly..
    can anybody help me????

    http://java.sun.com/learning/training/index.html

  • How to call a class file in a jsp without deploying anything in j2ee

    Hi,
    I am new in J2EE. I have some jsps, which I configured using web.properties(documentroot=c:/jsp/). I am able to get
    those pages by the web browser. I have some import statements in some jsps, now I
    am trying to access those page but it is failing, it says
    org.apache.jasper.JasperException: Unable to compile class for
    JSPD:\j2sdkee1.3\repository\pradip\web\_0002fLogin_0002ejspLogin_jsp_0.java:1:
    Class com.gui.UPMGuiGlobalConstants not found in import.
    import com.gui.UPMGuiGlobalConstants;
    Actually I have not deployed any class file or jsps.. Now my question is can I access
    these jsps without deploying anything, like can I put my .jar file in any j2ee
    directory(like lib or anywhere else, I already tried after putting in /lib) and restart the
    j2ee and use it. So how can I call a class file from a jsp without any kind of
    deployment?
    Please send me the reply as soon as possible.
    Regds,
    Pradip

    After you put the jar containing the class to import into the WEB-INF/lib directory, you still need to include it in the jsp.
    Putting the jar into the lib dir, will make it available to the vm, but as in any other java class, you still need to import it into the class, that the jsp will be compiled into.
    And you do that by putting
    <%@page import="com.gui.UPMGuiGlobalConstants" %>somewhere near the top of your jsp. (well you don't need to put it there, but it good style ;)
    That should do it.

Maybe you are looking for

  • X201 - Incomplete Win7x64 Shutdown drains battery

    Does anyone else have any issues with their x201 where the computer *appears to execute a full shutdown* (screen goes black, power light goes off, etc. but when you go to turn the machine on later, the battery is drained?  Its happened to me a couple

  • Getting FileNotFoundException :  _wl_cls_gen.jar!/null during deployment

    Hi, Please find below stack trace that I am getting when trying to deploy the application. I have searched the forums and found that the file wlcls_gen.jar is internally created for WEB-INF/classes. I am having difficulty in finding out the exact cau

  • Job cannot run

    Hello Sir or Madam, I have a database of ERP system, sometime jobs of this database not run completely and broken status is Y (Yes), red mark has been set on. Although sessions of this database are not in Blocked status, I do not know why. Pls you an

  • I need help on replacing an old debit card on the account

    Can I hav help on replacinging the old debit card on account

  • Connected but nothing loads fully except AOL

    While still using Panther, I left town for a week and when I came back I had problems getting online with my G4 which is connected to the Internet via cable modem. I also have a router. I switched to Tiger and the problems continued. The Tiger Networ