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

Similar Messages

  • 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!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • What Is The Proper J2EE Architect For This National Defense Project?

    A brief description of a national defense project I am looking into is that the system being developed is supposed to verify the "smartcard" of the card holder and his/her fingerprints against the Defense Department database. The system also reads in information about people (facial features, height, weight, etc.) and stores the information in the database, and then issues new "smartcard".
    1. People involved in the project already decided to use swing for the client tier.
    2. The problem is the Defense Department database. It is a flat file database and this database cannot be touched. It is a black box for Java developers. The Defense Department may provide a jar as an outer layer of this database.
    Question 1: Is the web tier essential for this defense project?
    Question 2: What is the proper J2EE architect for this project?
    Question 3: How to deal with the data problem? Especially it looks that entity beans are not applicable.
    Question 4: How does the system handle very heavy load? It is possible that tens of thousands of people will use the system at the same time.

    A brief description of a national defense project I am
    looking into is that the system being developed is
    supposed to verify the "smartcard" of the card holder
    and his/her fingerprints against the Defense
    Department database. The system also reads in
    information about people (facial features, height,
    weight, etc.) and stores the information in the
    database, and then issues new "smartcard".
    1. People involved in the project already decided to
    use swing for the client tier.
    2. The problem is the Defense Department database. It
    is a flat file database and this database cannot be
    touched. It is a black box for Java developers. The
    Defense Department may provide a jar as an outer layer
    of this database.
    Question 1: Is the web tier essential for this defense
    project?
    Question 2: What is the proper J2EE architect for this
    project?
    Question 3: How to deal with the data problem?
    Especially it looks that entity beans are not
    applicable.
    Question 4: How does the system handle very heavy
    load? It is possible that tens of thousands of people
    will use the system at the same time.
    Hi,
    You can get it done here :http://www.thesoftwareobjects.com

  • 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.

  • Firefox 5 was released. But i dont know that what is new in this compared to firefox 4.0.

    I didn't see anything new.

    Think of Firefox 5.0 as both a security update in place of 4.0.2 and having had some work done also, something that minor releases generally do not get.
    http://www.mozilla.com/en-US/firefox/5.0/releasenotes/
    See the "What's New in Firefox" section.

  • Anyone know what is new in iTunes 6.0.3.5?

    iTunes 6.0.3.5 came out today (with no relesae notes).
    Anyone here know what's new in it?
    Fujitsu Lifebook P-2120   Windows XP  

    Just installed and had a quick look, nothing obviously different. However it seemd that updating iPod was faster (with 6.0.2 it seemed to pause while copying songs and take longer), also my 5G 30GB iPod moved past "do not disconnect" considerably faster after clicking Eject iPod.
    Using version 1.1 of the iPod software and have been since it was released so the improvement seems to be brought about by 6.0.3.5
    HP Compaq dx6120 P4 2.8 GHz 1GB RAM (BABYJANE)   Windows XP   iPod : 5G 30GB (BLANCHE) 512MB Shuffle (BARBARELLA)

  • What is new in iTunes 6.0.1

    hello to everybody! just noticed that apple has released a new version of itunes (6.0.1)
    does anyone know what's new about it?
    TY
    BO

    hi bo!
    some bugfixes over 6.0.0.18. no new features beyond those in 6.0.0.18. here's the Wikipedia changelog:
    http://en.wikipedia.org/wiki/ITunes/changelog
    love, b

  • What is new in Enhancement Package 2 and 3

    Hi all,
    The [ERP Solution Browser|http://solutionbrowser.erp.sap.fmpmedia.com/] is an excellent tool to find out, what's new. However I did not find any means to get a list of new features in ERP 6.0 enhancement packages 2 and 3. Any hint (especially what's new in HCM) is welcome!
    Regards
      Matthias

    Hello Matthias,
    check out Service Marketplace, alias ERP-EhP to find out what's being delivered as part of an Enhancement Package:
    http://service.sap.com/erp-ehp (logon required).
    Basically, it provides the following:
    link to SAP Enhancement Package Infocenter to understand the content based on functional domain, e.g. HCM.
    documentation on
    - EhP concept and strategy
    - overview presentation SAP ERP EhP 2 and 3
    - detailed presentation SAP ERP EhP 2 and 3
    - preview SAP ERP EhP4
    - how to implement EhP ("Must know guide for IT professionals")
    - test case templates
    - links to other useful resources (e.g. ERP solution map, media library, functional areas)
    Hope this helps!

  • What is new in BI 7.0

    I would appreciate if any of you could provide me with links  to relevant documents or information on what is new for BI 7.0..
    One of  my main intentions is finding out information on the changes in Process Change Monitoring.  As you all know the issue with the current tools  in BW(3.5) is that the if the chain doesn't start.  Well is hard to find out promptly,  and similar situation when activations hang .....   I was thinking in creating a custom tool, but I was told that BW 7.0 do provide tools to better monitor chains.   Well… if anyone has information on this …I would appreciate ….
    Thank you
    Alfonso.

    Hi ,
      Check these links ,
      <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3604c604-0901-0010-f0aa-b37378495537">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3604c604-0901-0010-f0aa-b37378495537</a>
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/48c0417951d117e10000000a155106/content.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/48c0417951d117e10000000a155106/content.htm</a>
    <a href="/people/markus.kohler/blog/2006/06/07/welcome-to-my-new-netweaver-performance-blog:///people/markus.kohler/blog/2006/06/07/welcome-to-my-new-netweaver-performance-blog
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6ce7b0a4-0b01-0010-52ac-a6e813c35a84">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6ce7b0a4-0b01-0010-52ac-a6e813c35a84</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5ee3725b-0401-0010-e381-ac323362ce91">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5ee3725b-0401-0010-e381-ac323362ce91</a>
    Regards
    Renjith Kumar

  • What is new in Visual Composer 7.0 (EhP 1)

    Dear Modelers,
    You can have a look in the following blog in order to get the information about what is new in the SAP NW Visual Composer 7.0 Enhancement Package 1
    What's New in Visual Composer - Enhancement Package 1 for SAP NetWeaver 7.0
    Hope you find this information useful and have a nice modeling
    Kind Regards,
    Luis

    Create new Text tab in fields of Table & select Type as Date in VC or use DSRT date function

  • What is new in Contribute 4?

    Does anyone have detailed info pointing out what is new in
    Contribute 4? For example, how does it now handle javascript? Where
    is there a detailed tech spec? Thanks in advance.

    binbarn wrote:
    > Does anyone have detailed info pointing out what is new
    in Contribute 4? For example, how does it now handle javascript?
    Where is there a detailed tech spec? Thanks in advance.
    http://www.adobe.com/products/contribute,
    Go through the quick tour and
    the highlighting points.
    Try and Download the 30 day trial version and check it out.

  • What is new in ECC 6.0

    can u please tell me what is new in ECC 6.0 .what is the difference between this and older version.
    a ppt or pdf  will be helpful

    Hi,
    ECC 5.0 is based on WAS 6.40 and ECC 6.0 is based on WAS 7.00.
    From functional point of view there are some minor differences, as the core functionalities are not changed a lot. However there is Industrial Solutions intergarated to ECC 6.0 by default.
    From ABAP point of view you have the following new elements/components:
    - New ABAP editor /meanwhile it's available via downport for lower releases as well/
    - ABAP WebDynpro
    - Enhancement framework
    - Regular experssion support
    Also check this link for functionality differences.
    http://solutionbrowser.erp.sap.fmpmedia.com/
    SAP R/3 is basic ERP that every one keeps talking about which has got different versions ike 3.1, 4.0, 4.6, 4.7. The latest one in this is the ECC which again has got two versions in the market - ECC 5.0 and ECC 6.0.
    NetWeaver is the techology stack which gives other solutions that work with R/3 and also provide a technology platform for the ERP to work.
    EP - Enterprise portal is a part of the NetWeaver stack and can be used to provide web interface for the user apart from the standard protal functionalities.
    You can find more details of NetWeaver here
    http://help.sap.com/content/documentation/netweaver/index.htm
    and also check these..
    Re: R/3 Enterprise v mySAP ERP 2003 v ECC 5.0 v mySAP ERP 2004
    Technical difference between 4.7 and ECC 5.0
    difference between sapr/3 4.7 and sapr/3 ecc 5.0
    Differences b/n 4.6c,4.7 and ECC 5.0
    http://help.sap.com/saphelp_47x200/helpdata/en/12/9d78d6d8f74043a32e82be87e433b7/frameset.htm
    Reward if it helps..
    Regards,
    Omkar.
    Message was edited by:
            Omkaram Yanamala

  • What is new in IWeb latest version ?

    Can someone tell me what is new in IWeb latest version ?
    are there new features or is it just a bug-cleaning ?
    Thanks
    MacBookPro 1,83 GHz   Mac OS X (10.4.6)  

    MacBookPro,
    Hi there. If you are talking about 1.1.1 then I think that just fixed the publishing error problems.
    If you mean the version before....maybe someone else can jump in and answer that one.
    jabberwock
    iBook G4   Mac OS X (10.4.6)   http://web.mac.com/abenningfield/iWeb/Benningfield

  • What is new in iOS 5.1

    I was wondering, what is new in iOS 5.1? And does it fix the battery?

    Updating iOS (The bottom section in the article explains what's new)
    Features of the Latest Update: iOS 5.1
    Network icon for AT&T now displays whether you are using 3G or 4G
    Camera app shortcut now ALWAYS appears on the lock screen, no need to double tap the home button. Slide the screen upward to go to the camera app
    Battery issues have been addressed
    Siri now supports Japanese
    More
    To learn more about this update, go to Settings > General > Software Update > About this Update on your device.

  • What is new in ECC 5.0 compared to R/3 4.7 version

    Hi
    what is new in ECC 5.0 compared to R/3 4.7 version
    Thanks in Advance
    Deepa

    Hi
    see these links
    Refer this link for ECC 5.0 & 6.0:
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/68805bb88f297ee10000000a422035/frameset.htm
    A similar post
    /message/1783778#1783778 [original link is broken]
    You can go through the Release Notes for each of the versions after 4.6B (4.6C, 4.7 , ECC 5.0 & ECC 6.0)
    http://help.sap.com/saphelp_erp2005/helpdata/en/43/688055b88f297ee10000000a422035/content.htm
    For 4.7 SAP R/3 http://help.sap.com/saphelp_47x200/helpdata/en/12/9d78d6d8f74043a32e82be87e433b7/content.htm
    Release Notes on SAP Web Application Server 6.30
    http://help.sap.com/saphelp_47x200/helpdata/en/2b/64fc3e9d3b6927e10000000a114084/content.htm
    http://solutionbrowser.erp.sap.fmpmedia.com/
    Reward points if useful
    Regards
    Anji

Maybe you are looking for