Java SE5 and Java EE5 difference

What is the difference between Java SE5 and Java EE5? Also difference btwn SDK and JDK? I am confused about these basic concepts.
Thanks
Geet

Java Platform, Enterprise Edition is a related specification which includes all of the classes in Java SE, plus a number which are more useful to programs which run on servers as opposed to workstations.
Java EE includes several API specifications, such as JDBC, RMI, e-mail, JMS, web services, XML, etc, and defines how to coordinate them. Java EE also features some specifications unique to Java EE for components. These include Enterprise JavaBeans, servlets, portlets (following the Java Portlet specification), JavaServer Pages and several web service technologies.

Similar Messages

  • Java EE5 Tutorial - Totally lost!

    HI I'm just working through the Java EE5 Tutorial.
    I'm using:
    Sun Java System Application Server Platform Edition 9 Update 1 Patch 1
    installed in C:\Sun\SDK
    The tutorial/example projects are therefore in:
    C:\Sun\SDK\domains\domain1\docroot\javaeetutorial5\examples\web\bookstore1
    Netbeans IDE 5.5.1
    I'm having problems specifically with Chapter 2: Populating the Example Database
    The instructions state:
    When you deploy any of the Duke's Bookstore applications using ant deploy, the database is automatically populated at the same time. If you want to populate the database separately from the deploy task or are using NetBeans 5.5 to deploy the application, follow these steps:
    1. In a terminal window, go to the books directory or any one of the bookstore1 through bookstore6 example directories.
    2. Start the Java DB database server. For instructions, see Starting and Stopping the Java DB Database Server. You don't have to do this if you are using NetBeans 5.5. It starts the database server automatically.
    3. Run ant create-tables. This task runs a command to read the file tutorial.sql and execute the SQL commands contained in the file.
    At the end of the processing, you should see the following output:
    [sql] 181 of 181 SQL statements executed successfully
    The first problem I have is that the Runtime/Databases section, I cannot connect to:
    jdbc:derby://localhost:1527/sample
    (though I don't think this matters for this problem)
    Next if I use the ant command from the command prompt I get:
    C:\Sun\SDK\domains\domain1\docroot\javaeetutorial5\examples\web\bookstore1>ant c
    reate-tables
    'ant' is not recognized as an internal or external command,
    operable program or batch file.
    C:\Sun\SDK\domains\domain1\docroot\javaeetutorial5\examples\web\bookstore1>Using asant I get:
    C:\Sun\SDK\domains\domain1\docroot\javaeetutorial5\examples\web\bookstore1>asant create-tables
    Buildfile: build.xml
    -pre-init:
    init:
    check:
    BUILD FAILED
    C:\Sun\SDK\domains\domain1\docroot\javaeetutorial5\examples\bp-project\app-serve
    r-ant.xml:417: Property javaee.server.passwordfile not specified. Please
                specify the javaee.server.passwordfile property in 'bp-project/build
    .properties'.
                You will also need to ensure that the passwordfile is present and co
    ntains
                AS_ADMIN_PASSWORD.
    Total time: 0 secondsI can deploy the project no problem, If I navigate to
    http://localhost:8080/bookstore1/bookstore
    I get the exception:
    Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: org.apache.derby.client.am.SqlException: Table 'WEB_BOOKSTORE_BOOKS' does not exist.Error Code: -1
    Call:SELECT BOOKID, FIRSTNAME, SURNAME, ONSALE, INVENTORY, CALENDAR_YEAR, TITLE, PRICE, DESCRIPTION FROM WEB_BOOKSTORE_BOOKS WHERE (BOOKID = ?)
         bind => [203]
    Query:ReadObjectQuery(com.sun.bookstore.database.Book)Can anyone give me any pointers as to what I'm doing wrong?
    I must say that I find the whole tutorial completely inaccessible, as it seems to give no tutorial at all, simply stating a stream of remotely connected facts, without any practical example. Is there an alternative book/guide to working through Java EE 5 for beginners?

    Dear all
    I am having a similar problem with the bookstore1 example from JEE5 Tutorial. When I launch it from the browser I get an Exception
    Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: org.apache.derby.client.am.SqlException: Table 'WEB_BOOKSTORE_BOOKS' does not exist.Error Code: -1
    Call:SELECT BOOKID, INVENTORY, DESCRIPTION, PRICE, TITLE, FIRSTNAME, SURNAME, ONSALE, CALENDAR_YEAR FROM WEB_BOOKSTORE_BOOKS WHERE (BOOKID = ?)
         bind => [203]
    Query:ReadObjectQuery(com.sun.bookstore.database.Book)
    My environment (under Windows) is set up as follows:
    JAVAEE_HOME points to C:\\Program Files\\Java\\java_ee_sdk-5_02
    The tutorial is located in C:\\javaeetutorial5
    Application server is running at localhost:8080
    Java DB running at localhost:1527
    Java DB databases directory is located at C:\\DERBYDB
    I created BookDB database and it is in C:\\DERBYDB\\BookDB
    I populated the database, can connect to it and view tables from within NetBeans > Runtime
    I can also execute SQL queries from NetBeans on the datasets.
    In Runtime>Databases the URL for the database is setup as jdbc:derby://localhost:1527/BookDB
    In NetBeans > Tools > Options > Advanced Options > Server and External Tool Settings > Java DB Database the properties are set as
    Java DB Location: C:/Program Files/Java/java_ee_sdk-5_02/javadb
    Database Location : C:/DERBYDB
    In Application Server > Resources > JDBC > JDBC Resources I have
    JNDI Name:     derby
    Pool Name: DerbyPool     
    Status:     Enabled
    JNDI Name:     jdbc/BookDB
    Pool Name:     DerbyPool
    Status:     Enabled
    as well as jdbc/__CallFlowPool, jdbc/__default, jdbc/__TimerPool
    Project bookstore1 properties feature
    Libraries > bookstore - dist/bookstore.jar
    The output from the Application Server console:
    deployed with moduleid = bookstore1
    WEB0100: Loading web module [bookstore1] in virtual server [server] at [bookstore1]
    naming.bind
    [TopLink Config]: 2007.08.31 08:05:26.546--ServerSession(15189713)--The alias name for the entity class [class com.sun.bookstore.database.Book] is being defaulted to: Book.
    [TopLink Config]: 2007.08.31 08:05:26.546--ServerSession(15189713)--The column name for element [public java.lang.String com.sun.bookstore.database.Book.getDescription()] is being defaulted to: DESCRIPTION.
    [TopLink Config]: 2007.08.31 08:05:26.546--ServerSession(15189713)--The column name for element [public java.lang.String com.sun.bookstore.database.Book.getSurname()] is being defaulted to: SURNAME.
    [TopLink Config]: 2007.08.31 08:05:26.546--ServerSession(15189713)--The column name for element [public java.lang.String com.sun.bookstore.database.Book.getTitle()] is being defaulted to: TITLE.
    [TopLink Config]: 2007.08.31 08:05:26.546--ServerSession(15189713)--The column name for element [public java.lang.String com.sun.bookstore.database.Book.getBookId()] is being defaulted to: BOOKID.
    [TopLink Config]: 2007.08.31 08:05:26.546--ServerSession(15189713)--The column name for element [public int com.sun.bookstore.database.Book.getInventory()] is being defaulted to: INVENTORY.
    [TopLink Config]: 2007.08.31 08:05:26.546--ServerSession(15189713)--The column name for element [public float com.sun.bookstore.database.Book.getPrice()] is being defaulted to: PRICE.
    [TopLink Config]: 2007.08.31 08:05:26.546--ServerSession(15189713)--The column name for element [public java.lang.String com.sun.bookstore.database.Book.getFirstName()] is being defaulted to: FIRSTNAME.
    [TopLink Config]: 2007.08.31 08:05:26.562--ServerSession(15189713)--The column name for element [public boolean com.sun.bookstore.database.Book.getOnSale()] is being defaulted to: ONSALE.
    [TopLink Config]: 2007.08.31 08:05:26.562--ServerSession(15189713)--The column name for element [public int com.sun.bookstore.database.Book.getCalendar_year()] is being defaulted to: CALENDAR_YEAR.
    [TopLink Config]: 2007.08.31 08:05:26.578--ServerSession(15189713)--property toplink.server.platform.class.name is deprecated, property toplink.target-server should be used instead.
    topLink_version
    application_server_name_and_version
    platform=>JavaDBPlatform
    user name=> ""
    connector=>JNDIConnector datasource name=>null
    );|connecting
    ;|connected_user_database_driver
    platform=>JavaDBPlatform
    user name=> ""
    connector=>JNDIConnector datasource name=>null
    );|connecting
    ;|connected_user_database_driver
    login_successful
    WARNING *********** NetBeans HTTP Monitor ************
    The request cannot be recorded most likely because the NetBeans HTTP Server is not running. Go to the IDE and start the HTTP Server from within the Runtime window to fix this problem.
    =======================================================
    The number of hits is: 1
    =======================================================
    Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: org.apache.derby.client.am.SqlException: Table 'WEB_BOOKSTORE_BOOKS' does not exist.Error Code: -1
    Call:SELECT BOOKID, INVENTORY, DESCRIPTION, PRICE, TITLE, FIRSTNAME, SURNAME, ONSALE, CALENDAR_YEAR FROM WEB_BOOKSTORE_BOOKS WHERE (BOOKID = ?)
    bind => [203]
    Query:ReadObjectQuery(com.sun.bookstore.database.Book)
    at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:303) ...
    Could anyone enlighten me why the table 'WEB_BOOKSTORE_BOOKS' cannot be found? As I said I can see it in NetBeans and can run a query e.g. SELECT BOOKID, INVENTORY, DESCRIPTION, PRICE, TITLE, FIRSTNAME, SURNAME, ONSALE, CALENDAR_YEAR FROM WEB_BOOKSTORE_BOOKS WHERE (BOOKID = '201')
    Also does the line connector=>JNDIConnector datasource name=>null in the Application Server output have any implication on this problem?
    I will greatly appreciate your help as I have run out of ideas how to fix this.

  • Java XML Difference APIs

    Hello all,
    I am trying to do an analysis on Open source APIs for finding the difference between 2 XMLs. Both the XML documents would belong to the same schema and the individual differences between the tags have to be found. For eg. Lets say the XML A is the initial version of a XML and XML B is updated version of XML A, I should be able to prepare a report on which I should be able to find out what are all the new XML tags which have been added, what XML tags have been modified and what XML tags have been deleted. And the size of these XMLs could be anywhere from few Kbs to 500 Mb.
    I see quite a few open source APIs available on the site below
    http://www.roseindia.net/opensource/xmldiff.php
    But it would help if someone had worked on these APIs before and provide a feedback and suggestions about the same.
    Thanks
    IK
    Edited by: IronKnight on Apr 20, 2010 8:47 AM

    I see quite a few open source APIs available on the site below
    http://www.roseindia.net/opensource/xmldiff.php
    Let me give you a word of advice. Ignore anything and everything you find on that site. It is a notorious source of drivel.

  • Opening and closing balance difference is showing from 2010 to 2011 F.year

    Dear All,
    Opening and closing balance difference is showing for Main Cash(Cash in h)
    End of fiscal year 2010 closing Balance 85,451,909.70
    Opening Balance 2011 is showing as 85,450,909.70  
    Rs 1000 difference is coming.
    Please suggest if any Note is there?

    Hi,
    Somes after year end for audit / management adjustment entries postings done with previous year.
    Execute N no of times Balance carry forward T.Code: FAGLGVTR  until you get your closing balances & opening balances are the same. it is not harm to execute again & again.
    up to 4.7EE for balance transfer you can use T.Code:F.16 from ECC 5 / 6 use tcode for balance transfer FAGLGVTR
    Regards,
    Viswa
    Edited by: viswanatha s on Nov 4, 2011 12:54 PM

  • If i have an unlocked iphone 5 can i upgrade it to an iphone 5s and pay the difference ?

    if i have an unlocked iphone 5 can i upgrade it to an iphone 5s and pay the difference?

    Then, you own the phone. Your only options are sell the phone yourself or see what programs are offered by third-parties or your carrier.

  • How to Find the highest and lowest cell in a column and figure the difference

    What I am tryng to do is have numbers find the high and low in Cloumn B and and put the difference in B6. So I would need it to Figure out that B3 is the highest and B2 is the lowest and give me the difference of .25 in B6

    Don,
    Begin by making Row 6 a Footer Row. You will find that option in the row tab menu that appears when you hover over the 6 tab and click the triangle.
    Then enter this formula in B6:
    =MAX(B)-MIN(B)
    Regards,
    Jerry

  • Compare two tables and log the difference

    Hi,
    I want to compare two tables and log the difference in new table with the fields as (old value,new value, column name). The column name should be the changes value column

    Can you show an example?
    SELECT Foo.*, Bar.*
       FROM Foo
            FULL OUTER JOIN
            Bar
            ON Foo.c1 = Bar.c1
               AND Foo.c2 = Bar.c2
               AND Foo.cn = Bar.cn
     WHERE Foo.key IS NULL 
        OR Bar.key IS NULL; 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Script to compare 2 tables and retrieve the differences in records data

    Dear All,
    please I need a script to compare two oracle database tables and retrieves the differences in data records between the two tables.
    I have tried this one :
    -- all rows that are in T1 but not in T2
    (select * from T1 minus select * from T2)
    union all
    -- all rows that are in T2 but not in T1
    (select * from T2 minus select * from T1);
    But it generates the following error:
    ORA-01789: query block has incorrect number of result columns
    Thank you for your cooperation , please it is urgent

    ok I used this statement with dblink, the problem is that i cannot use PL/SQL developer since it is a process repeated for 300 tables , that why i am trying to automate it:
    -- all rows that are in T1 but not in T2
    (select * from schema.T1minus select * from T2@dblink_name)
    union all
    -- all rows that are in T2 but not in T1
    (select * from T2@dblink_name minus select * from schema.T1);
    I created the db link on a database A and when i run the statement
    (select * from schema.T1minus select * from T2@dblink_name)
    on the database B i get the error ORA-02019: CONNECTION DESCRIPTION FOR REMOTE DATABASE NOT FOUND.
    DOes anybody have an idea please

  • I have a fully functioning iPhone 4S that has been in water, it has left slight water marks on screen, everything else works and is in mint condition. I want to exchange it for an iphone 5s and pay the difference. Would this be possible at the apple store

    I have a fully functioning iPhone 4S in mint condition apart some water marks on screen (dropped in bath) everything works perfectly as it should. I wish to exchange and pay the difference for an iphone 5s. Is this possible from the apple store (uk) how much do they normally give as a trade in and how much do they charge for an iphone 5s. Or should I just take it in and see if they will do a one for one swap and pay the difference. ( I don't like the water marks, it's annoying, maybe they will go away, I don't know) been sat in rice for a week.

    The only thing Apple will do for you is an out of warranty exchange, & you will get EXACTLY what you have now. The cost will be US $199. Make an appointment at any Apple store.

  • I have iphone 5 can i change it from apple and pay the difference bettween both value

    i have iphone 5 can i change it from apple and pay the difference bettween both value

    Ask your retailer.  At worst, you can sell your iPhone 5 independently (of Apple and your retailer) and separately purchase the later model.

  • Use of clients 000 and 001 & their differences?

    hi guys,
    Any one explan me the use of predefined clients 000 and 001
    The differences between them

    Hi,
    Clients 000, 001 and 066 are standard clients that are pre-delivered by SAP. These clients are not supposed to be used in development, quality and production environments.
    Client 000 is basically used as working client only when you do support pack upgrade or ABAP load generations (SGEN) and implementing additional languages, etc. Otherwise, client 000 should not be used as a working client. The same applies to client 001. But the only exception with 001 is, with Solution Manager, 001 will be your working client. You will do all configurations and obtain support from SAP through this client. With other Systems like BW and CRM, this client (001) will not be a working client. Two standard users (SAP* and DDIC) are defined in the clients 000 and 001.The client 066 is used only for EarlyWatch functions (Monitoring and performance). The user EarlyWatch is delivered in client 066 and is protected using the password SUPPORT. This password needs to be changed for security purposes.
    Rgds,
    Suman

  • HT1338 can i replace my mac with a newest model and pay a difference

    can i replace my mac with the newest model and pay a difference>>>

    Sorry. No.
    Apple does not have a trade-in policy.
    Best.

  • Safari, iTunes, software update iCal not connecting. Firefox is fine. Tried Proxies, but not sure what to do there. Only one box was checked, I unchecked it, and made no difference. Have also tried some other DNS numbers, nothing worked yet.

    Hi There,
    Safari, iTunes, software update iCal not connecting. Firefox is fine.
    I have found some archieved discussions about this, but none that went  into detail about how to fix problem using proxies - I don't really  understand what they are/ do.
    I went into the Proxies screen, Only one  box was checked, "Use Passive FTP Mode (PASV)" I unchecked it, and made no  difference. There was also some stuff written in the "Bypass proxy settings for these hosts and domains" I deleated that and nothing different happened. Have also tried some other DNS numbers,  nothing worked yet.
    Any suggestions?

    I still have no idea what was wrong with Safari last week, but I opened it today, and its all working! Hurrah!
    Woohoo! I'm a great fan of things fixing themselves. Fingers crossed in New Zealand for no further problems.

  • How to compare two images and display the difference on Front Panel

    HI..
    I have attached two images.
    I want to compare these two images and subtract the differenc from these two images and display the difference(the mouse) on the front panel
    Anyone can help me?
    Really thanks
    Attachments:
    IMG_2117.JPG ‏1677 KB
    IMG_2118.JPG ‏1650 KB

    The missing thing. You have to keep in mind that what you see is not the same as the camera sees.
    So when using IMAQ Substract it gives you the difference of the value of every single pixel!
    In order to find the mouse as only difference you have to manage that every other pixel value stays the same, e.g. with a proper lightening.
    At the other hand you can combine different filters or alogorithms to get the object, e.g. if the object is darker or brighter then everything else in the image you could use a threshold and then use morphologic operations to get the objects size and position.
    Christian

  • Regarding MRP and WIP scheduling differences

    One doubt is whether variable leadtime is used by both MRP as well as WIP scheduler. I have a feeling that it is being used by only MRP. The backward scheduling done by WIP scheduler always gives 3 times the days given by MRP . So if due date is say 3-jun-2002 for a particular item with quantity 100. MRP gives a start date of 27-May-2002 whereas WIP Scheduler gives a start date of 15-May-2002.I know that WIP is considering 8 hours as working time as defined in our workday calender but MRP is taking 24 hours as working time.Why is this so?

    I had been a little out of touch here but the difference is in the type of scheduling, WIP uses what is known as Detailed scheduling algorithm and hence the difference. Will get back to you after clearing the cob webs created by recent randezvous with COM/MTS. Hope this helps

Maybe you are looking for

  • How to restore a parked document after the reverse of the posted document?

    Hi All, I've created a parked document; later I've posted it. But I was wrong; now I've to reverse the document posted. Is there a way to restore the parked document? Thanks

  • Whole computer shutting down during encoding sequence

    this is a new problem for me - It used to work perfect until 1 week ago. now everytime I am trying to encode a sequence into a MP4 the whole computer shuts down during the process - at different % of the encoding   why?

  • A solution to hiding tool pane by DEFAULT in Reader DC

    After I upgrade to Reader DC, there is always a tool pane when I open a pdf file. However, it is useless for most people at most time. Although we can turn it off by clicking the arrow or use shortcut shift+F4, it cannot be turned off by default. I d

  • You Tube will not play in Safari 3.0.4

    I am not able to watch You Tube videos in their entirety 95% of the time. Occasionally, I have been able to view a complete video, but most of the time I can only watch 5-10 seconds before the video stops. I have tried emptying the cache, but this ma

  • Importing FCE sequence to Quicktime movie to Idvd

    I imported a FCE sequence to Quicktime movie, then into iDVD. Where I had made freeze frame images with cross fade transitions in FCE, when i previewed them in iDVD the transitions were "jumpy" in iDVD. Any suggestions?