J2EE vs J2SE

I have J2SE installed in my PC. Now I am starting to learn EJB and I will install J2EE. Should I install J2EE over J2SE or should I install it on a different directory? Thanks.

I just installed the full J2EE on my server, for the EJB stuff etc.
J2EE contains J2SE! J2SE is the Java Development Kit (JDK), look in your j2ee installation directory
<je22_install_dir>/jdk
J2EE also contains its own ant and some kind of ant wrapper called asant.
If you just download the j2ee application server you will have to inform it of your current JAVA_HOME during the installation process, but if you do install the full j2ee it will install itself.
All I really had to do was change my JAVA_HOME environment variable, everything seems to be working fine.

Similar Messages

  • Need clarification J2EE vs J2SE

    I did a search on this topic and things are becoming a bit more clearer, but I want to be sure. I have just finished taking an intermediate java course and I am ready to work on an email application and learn some web programming using java server pages. Java is my first object-oriented programming language and I have programmed web pages using active server pages specifically vbscript.
    Right now I have J2SE 1.4.2 installed on my home computer. In order to build a the email app I need the JavaMail API( a separate download) and you also need the activation framework(a separate download) and for JSP I will need to download the JSP specification and then JSP will not run on IIS so I will need a separate web server. If I need anything else or I want to learn a new skill there will be a separate download again.
    I believe all of this is included with J2EE but you have to have J2SE installed from what I have been reading. the J2EE full download includes the application server which I am not sure If I will need it. I read that you could install the Tomcat server to work with IIS or separately. I am not sure which way to go. I also wanted to download the java web services developer pack 1.3 because of the ANT build tool for deployment, JSP,Tomcat and XML. Is everything included in the java wsdp included in the J2EE?
    i have a lot of questions. Can anyone clarify this for me?

    I believe all of this is included with J2EE but you
    have to have J2SE installed from what I have been
    reading. the J2EE full download includes the
    application server which I am not sure If I will need
    it. I read that you could install the Tomcat server to
    work with IIS or separately. I am not sure which way
    to go. I also wanted to download the java web services
    developer pack 1.3 because of the ANT build tool for
    deployment, JSP,Tomcat and XML. Is everything included
    in the java wsdp included in the J2EE?Both the J2EE 1.4 SDK and Java WSDP 1.3 have Web services APIs, Java XML APIs, JSP 2.0, JSTL 1.1, JavaServer Faces 1.0 and Ant.
    The J2EE 1.4 SDK has the Sun Java System Application Server, J2EE 1.4 samples, and includes J2SE SDK. Java WSDP 1.3 also has JAXB and some extra Web services security features and the Tomcat Web container, but does not include J2SE SDK and contains non-final releases of JSTL 1.1 and JavaServer Faces 1.0.
    If you already have J2SE 1.4.2 installed, you can just download the Sun Java System Application Server or Java WSDP 1.3. The J2EE download page has a diagram that shows what's in the J2EE 1.4 SDK:
    http://java.sun.com/j2ee/1.4/download.html

  • J2EE and J2SE

    Hi, I´m a new SAP Netweaver platform developer, and I need to learn how to use the J2SE client application connections (Jco) with R/3 system on my engine J2EE... Do I have to rebuild them? or Do I have to make a new application on JSP or APPLET?

    Hi,
    the question is, what you want to do with it. First of all it continues to run I suppose. Though, the question should be, what you cannot do with it, what you want to realize with NetWeaver. From there you get to the next steps.
    Surely you can reuse your code in a new app - the question merely is why you want to rewrite.
    Regards,
    Benny

  • J2EE vs J2SE 1.3.1

    Hi and Help is appreciated,
    I just downloaded J2EE 1.3.1, file "j2sdkee-1_3_1_win.exe".
    The download info page at http://java.sun.com/j2ee/sdk_1.3/index.html says...
    " This release relies on the Java 2 SDK, Standard Edition ("J2SETM"). The following table lists the required version of the J2SE for each operating system that is supported with this release of the J2EE SDK."
    Does this mean I must ALSO download J2SE 1.3.1 and install that before installing J2EE 1.3.1 or can I just go with the J2EE download ?
    Thanks,
    Jeff Barnes

    J2SE = Standard Edition including the very core stuff like Object, String, Thread, Integer etc.
    J2EE = Enterprise Edition = servlets, javamail, xml etc.
    So J2EE will not be of much use without J2SE.

  • Difference between J2EE SDK J2SE SDK

    Can someone please tel me the difference between J2SE SDK and J2EE SDK, Im new to java n currently using J2SE SDK.

    difference b/w j2se nd j2eehttp://java.sun.com/reference/glossary/index.html

  • J2EE or J2SE Install?

    I'm trying to updating my JBuilder JDK but don't know which JDK to install?
    Do I install the J2EE JDK or the J2SE JDK?
    Does the J2EE JDK have access to all the classes that the J2SE JDK has?

    So, you have J2EE SDK already installed, and you want to use another J2SE version that you installed separately, right?
    To do that, you should update <j2EE_install_dir>/config/asenv.bat file. Variable AS_JAVA should point to new J2SE installation directory. Then, you also need to change the J2SE installation used by default server domain - easiest way to do that is to use admin console and follow instructions available here:
    http://docs.sun.com/source/817-6088/jvm.html#wp1027918

  • Download of latest J2EE and J2SE

    I am new to the technology, tried downloading the software from the site, but due to slow connection I am not able to download the package, I also tried using download accelerator and sun download manager but all in vain. If someone can help me to find if I can order the CD-ROM for the same I do not need the licensed software, I need it for test and not for production. As far as I know it is freely downloadable. But CD, if somebody will let me know how much will that cost? And if directly sun people can help me in getting this CD.
    Thanks for looking into my problem..

    As for J2EE installation - if I understood correctly this is Windows ME and you'll need to take a look at
    this in order to get installer to run:
    http://forum.java.sun.com/thread.jsp?forum=136&thread=472089
    and this to get an idea how to tweak bat scripts and environment settings:
    http://forums.java.sun.com/thread.jsp?forum=13&thread=21673

  • J2SE Vs J2EE Adapter Engine

    Hi All,
    I am having a doubt. Apart from having a decentralized installation location of J2SE Adapter,
    What is the difference between the J2EE and J2SE Adapters???????
    As much as i understand J2EE adapters installed on the XI Server(part of the installation)
    whereas we need to install the J2SE Adapters locally.
    Anybody has any idea ???
    rgds
    RM

    Hi,
    In one of SAP's presentations I've found:
    "Reasons for Decentral SAP J2EE-based AE:
    - Protocol of Sender-/Receiver system (e.g. ftp not allowed)
    - Driver OS - dependent
    - Sender-System has to send independent from IS
    - Performance
    - Organizational Aspects"
    Regards,
    michal

  • J2SE NIO vs J2EE

    We've created communication server using java nio socket where you can create clients of any language using socket to communicate to the server(java nio) application we made. The communication server can handle thousands of concurrent connected clients.
    My question is, is there a better way to create a communication server in J2EE that can handle thousands of concurrent connections?
    If there is, is there any advantage in doing so in terms of speed, scalability and functionality?
    Thanks in advance.

    georgemc is right. J2EE server can run on same JRE. However, some J2EE server will modifiy(or fine tune) the JRE for performance. Weblogic is one of the examples.
    I think a install package include everything may scare a beginner in Java. The J2EE server can increase the load of the OS.
    If you do not have the knowledge of J2EE, the error message of J2EE server(J2EE error+J2SE error) seems to be more difficult than the error come from J2SE.

  • Migrating my development platform from J2SE to J2EE

    Context: Windows 2003 Server Edition
    I downloaded and installed J2SE 5.0. Now I want to download J2EE 5.0 to get into some serious application development.
    Should|Must I remove|uninstall J2SE first or can I just download and install J2EE over J2SE?
    Does it make sense to have both coexisting on my server/development machine?
    Thanks
    Jim

    this is not an exlusive-or situation.
    you will develop j2ee apps using j2se code and j2ee code.
    do not uninstall j2se :)

  • J2EE and related J2SE/JRE versions

    I understand the difference between J2EE and J2SE/SDK/JDK, and JRE. However, I'm having trouble identifying what version of SDK each of the J2EE versions uses. Maybe they match up.
    For example, if I have an old project someone says was built with J2EE 1.3 SDK, does that use J2SE/JRE 1.3? Does Java EE 5 use Java 1.5? 1.6? 1.4? (For example, if I'm setting Eclipse Compiler Compliance Level for a J2EE 1.3 project, what should it be?)

    is there a way for me to know what Java version that would have been or could have been compiled against?No.
    Edit: Slight clarification - the class files in the application contain a magic number that corresponds with the compiler target - so for any given class file you can determine what JRE was targeted at compile time. This can be different from the compiler version. Different classes in the same application may have been targeted to different JRE versions.
    Are there any versions of Java that it could not be compiled against?No.
    what version of Java does the Application Server on which this will be deployed support.The Application Server will be running on a JRE corresponding to a particular Java release. That JRE will support all versions of Java prior to the release. Code compiled on subsequent versions of Java can, if suitably written, be targeted to run on that version of the JRE and (depending on versions) may not need specific targeting to do so. Whether they in fact work or not depends entirely on what library calls they make.
    What's the business requirement that drives this request?
    Edited by: dcminter on 03-Mar-2010 18:54

  • EJB,J2EE & J2SE

    I am new to Java,and have been confused by the following items.
    What are the difference betwee EJB,J2EE and J2SE. What purposes do each of them serve???

    I am new to Java,and have been confused by the
    following items.
    What are the difference betwee EJB,J2EE and J2SE. What
    purposes do each of them serve???A very short answer:
    J2SE is standard java. You write applications in this.
    J2EE is java enterprise edition, and has a lot of server side apis, such as messaging, transactions. You write applications that do a lot more serious stuff.
    EJBs are Enterprise Java Beans, which are a part of J2EE.

  • Filename in J2SE Adapter with Variable Substitution

    Hello,
    Within the J2EE receiver fileadapter (and ftp) from SP13 it is possible to compose the target filename and directory based on the payload of a message using variable substitution.
    I wonder if it is also possible to use variable substitution with the J2SE fileadapter. For this it is not documented but i thougth that the same java libraries are used for the J2EE an J2SE file-adapters.
    Aybody??
    Really Nobody??
    Message was edited by: Emile Hermans

    Hello,
    the J2SE Adapter does not support variable subsition. Therefore we created our own class which gets called from the main SAP XI class "XMB2FileProcessor.class" wich is in the jar "aii_msg_adapter.jar". In your own class you can do what ever you need to chane the file name. In the configuration you can set your own parameter to search the payload for a string you want to replace. We also had to come up with our own timestamp, e.g. file2005-11-10 which SAP does not let you do, only the full timestamp is possible.
    One other nice thing is that you can develop our JAVA class local and test it with your local J2SE Adapter Engine on you PC before you deploy it.
    Steps to do:
    1. JAD the SAP class
    2. Put a call in the SAP class
    3. Compile the class
    4. Put the class back in the archive
    5. Create your own class
    6. Create a jar file for it
    7. Put the jar file in the tech_adapter directory
    8. Change the run_adapter start cmd to include your jar file
    It works great, the only issue is if you patch the J2SE engine you have to do step 1 to 4 again but that should it very easy to do.
    Cheers
    Stefan

  • Please, help me learn J2EE...point me out to better tutorials or something!

    Hi,
    Guys, I really need help in trying to learn what J2EE is.
    I've got prior knowledge and experience on Java (I thought), but ever since I came across the terms J2EE, EJB, JNI, JSP, JDBC and all that crap, I now don't know what I actually learnt!
    Please bear with me I beg of you! :)
    1.0: What I've learnt.
    ===============================
    So far, I've learnt (I think) the core/basics of the Java language, covering uhm...the basics up to GUIs, Arrays, IOStreams...yeah I think that's it.
    I code using notepad and compile them using the SDK...which up to now I still don't know if it is an SE or EE edition. It's j2sdk1.4.0 the last time I checked. I didn't use any IDE.
    I've done (school) projects like a Library System (involves loaning of books and charges etc etc), a Chalet Organizer (Loaning out chalets/rooms and charges etc etc) and an Appointment Organizer.
    So what was that which I learnt? Am I right to say that that is only core Java and nothing else and is next to worthless in the working world?
    2.0: Why I want to learn J2EE.
    ===============================
    Okay so why do I want to learn specifically J2EE? Well, most employment opportunities here require J2EE and EJB (and maybe some other alien terms) as prerequisites to being a "Java Programmer".
    I really need the job as soon as possible (for family's sake) and the job market here is already saturated with webmasters..
    3.0: What I have tried.
    ===============================
    Believe me, I tried for like 2 months already to try learn this thing on my own.
    I have followed almost exactly to the J2EE "Beginner's Tutorial" found on http://java.sun.com/j2ee/tutorial/ but no matter how far I read, I'm still just as clueless as I was when I was in my mother's womb about what J2EE is all about, even though I did the examples. I stopped somewhere in the middle of "Getting Started" because I realized I wasn't learning anything at all.
    4.0: Help meeeeeee...
    ===============================
    4.1:
    Can anyone please help me set my head straight and either point me to a REAL beginner's tutorial on J2EE and what the heck it is, or help explain to me slowly what J2EE really is and how to learn it?
    4.2:
    What's the difference between J2EE and J2SE?!? I initially thought that J2SE was simply just a smaller download which didn't include some of the heavier stuff that the EE carried, but boy was I wrong when that same tutorial asked me to install BOTH of them!
    4.3:
    Is it right for me to think that EJB are just files which are precoded to facilitate programming? e.g.:(I could've written up my own Date class instead of using the standard Date class that everybody uses.)
    4.4:
    What the hell is Jakarta Ant? Is it a builder and not a compiler, and may allow me to run built programs just by double-clicking on an e.g. executable? Like C++? So that I don't have to go to command prompt and type "java myApp.class"? (OT, but I think it's ridiculous that Apache has this and not Sun!!)
    4.5:
    Is there a simpler, much much much simpler example of a J2EE tutorial besides the overly vague tutorial "The Duke's Bank Application"? I need more examples of smaller scale maaaan... Better yet, is there a tutorial around that covers the very very very basics of Java all the way up to J2EE, step by step and with ample explanations?
    =========================
    Thanks all, I would really really appreciate any heads up you can provide me with.
    Sincerely, Kai.

    Lee and tsith - same fella -
    Run Tomcat as a standalone critter - the install of the current ver (4.1.12?) on a Windows machine sets it up nicely, and you don't have to worry about web connectors and stuff. Just create a few JSPs and dump them somewhere under the ROOT directory of your webapps directory and you should be able to hit them via a URL like http://localhost:8080/test.jsp (assuming you have it running on port 8080). Once you get your fill of the JSP thing, make a serrvlet and look into creating WAR files - then copy your WAR file into webapps subdirectory of your Tomcat installation and play with that. When you've had enough Servlet fun, then look into JBoss and making EAR files and you'll have all sorts of fun with JNDI and JDBC and all those other acronyms.
    Ant is just a build tool, not a compiler. Compiling simple java classes is no big deal, 'cause you just type javac MyClass.java or some such. But when you get into complicated build processes (like, compile these classes, making sure to include the J2EE jar and all the other jars I need, and create a WAR file, and deploy it to Tomcat) then Ant really helps.
    If you want help documenting your classes, the javadoc tool is for you.
    Lee

  • How to get the filename from J2SE File adapter

    In our project scenario , we are using J2EE and J2SE engine both .J2EE for mapping  and J2SE for Deliveying the message .
    In one senario, routing will be based on the filename .
    J2SE Sender File adapter --- XI Adapter --- XI pipe line
    So the File reaching to XI pipelane via J2SE File adapter--> XI adapter.
    When we are using the dynamic configurator in the XI to get the filename
    we are not able to get the file name  becasue it is coming to XI via
    XI adapter.
    How to get the filename ????Hope I am clear about the problem.

    hi,
    try this
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    //obtengo la Key del FileName
    DynamicConfigurationKey keyF = DynamicConfigurationKey.getName();
    http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/api/DynamicConfigurationKey.html
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
    /people/mohammed.zabiulla/blog/2008/03/26/have-you-ever-tried-to-determine-mail-cc-dynamically
    Hope it helps
    Thanks
    Rodrigo
    Edited by: Rodrigo Pertierra on Apr 11, 2008 9:31 AM

Maybe you are looking for

  • Removing nokia mail for exchange

    I installed mail for exchange on my 5530 and removed shortly after because there is no way to sign off or turn wifi off. Even though I removed Mail for exchange I still see it as an option when I try to send a photo from gallery. Any ideas how to get

  • Create a fixed quantity for a Subcontracting Op

    I have the scenario where my last operation is a subcontract. I only want to raise a subcontract purchase order for '1' and not the lot size. How do I set up mysubcontract Routing Operation to create a PR for '1'. Scenario. Today: Production Order qt

  • ValidateData.js - apply changes to data form

    Hi, I've modified the ValidateData.js file to add a button to a form. My question is how do I actually see the changes I've made in the file appear in the data form? In layman's terms, how do I execute the code inside ValidateData.js? Thank you!

  • Share bandwidth between two subinterface

    dears I have 2 subinterface (f0/1.100 & f0/1.101) and i have 10 Mb BW how to share bandwidth between two subinterface ???

  • Safari 4.1.3 issue with Apple Discussions

    Several times yesterday and this morning, and continually this evening, I have got the redirect URL below when trying to get to Apple Discussions (index page, or directly to any of the forums I frequent) using Safari 4.1.3 on my iBook G4, running Tig