Venturing into J2EE

Hi..
I would like to ask opinions from anyone who got experiences in J2EE. I'm thinking of trying J2EE as part of my new knowledge. I myself has some knowledge in web programming especially PHP (built myself a portal engine back then). I also got some experience in Java itself as I'm involved in developing Java desktop application everyday using Swing (J2SE). During my study time, I've developed a simple online shop using JSP and Servlet, but consider it all gone since it has been years since the last time I use JSP.
So, now the problem is I don't know how to start. I've been reading some stuffs, there are things called web framework in J2EE such as Struts, JSP, JWT, and so on. The question is, which one should I take first ? Heck, I don't even know which server should I use, Tomcat or Glassfish. However, I'm thinking of starting with JSF, Icefaces for the Ajax engine and Glassfish as the server. Reason, simply because there are from Sun and I'll be using Netbeans as my primary IDE (has been using it for ages in developing my Swing apps). So, did I choose the corrent framework and server ?
My goal is to create a web application that uses MySQL extensively. There will be hundreds of people logging in everyday and checking for new informations almost every minutes. Long term goal is to create some kind of a portal that will combine applications into one place. So, any advice for a newbie ?

Aurorius wrote:
So, now the problem is I don't know how to start. I've been reading some stuffs, there are things called web framework in J2EE such as Struts, JSP, JWT, and so on. First, the term "J2EE" is old and concerns Java EE 1.2 up to Java EE 1.4 only. Nowadays we have Java EE 5 since ages and this isn´t to be called as "J2EE", but just as "Java EE".
The question is, which one should I take first ? Assuming that you´re already familiar with HTTP/HTML/CSS/JS/XML, just start with JSP. Then do Servlets. Then learn the MVC and DAO patterns. Then a MVC framework like Sun JSF or Apache Struts.
Heck, I don't even know which server should I use, Tomcat or Glassfish. However, I'm thinking of starting with JSF, Icefaces for the Ajax engine and Glassfish as the server.Glassfish also has an EJB container. It is huge and slow. If you don´t need EJB, just go for Tomcat. Small, lightweight and quick. If you really need EJB, I recommend JBoss AS over Sun Glassfish. With regard to the JSF part, I recommend JBoss RichFaces over IceFaces.
Reason, simply because there are from Sun and I'll be using Netbeans as my primary IDE (has been using it for ages in developing my Swing apps). So, did I choose the corrent framework and server ?Your choice. My opinion about Netbeans is that it is horrible. I use Eclipse. IntelliJ is another decent IDE, but it´s payware.
My goal is to create a web application that uses MySQL extensively. There will be hundreds of people logging in everyday and checking for new informations almost every minutes. Long term goal is to create some kind of a portal that will combine applications into one place. So, any advice for a newbie ?Just learn the stuff step by step. I can recommend you the "Head first JSP and Servlet" book. In case of JSF, I can recommend you the "JSF: The Complete Reference" book.

Similar Messages

  • Venturing into NetWeaver .. suggestions required

    Hello Everybody,
    This is Naveen, have been working for nearly 2 years on Java and Openbravo ERP. I have a long time career plan to venture into SAP Platform preferably NetWeaver; but unable to figure it out on how to delve into this platform.
    I would like to get advised by the community on how to go about this one. I can give you what all inputs you want from my side.
    My technical proficiencies:-
    Java 5.0, SQL
    Struts 1.3.5, Hibernate 3.0
    MySQL 5.0, Oracle 10g XE
    JBoss & Apache Tomcat
    Thank You.

    Hi
    looking at your skill set ,
    You can  enter netweaver as java programmer.
    if you have the resources then download the Netweaver Sneak Preview and Start Coding through Netweaver Developer Studio Right Away.
    With a Local copy of Netweaver Installation
    you can also learn the Admin Part of Netweaver Portal.
    Finally at some point of time you will require access to SAP System , the earlier the better !
    Best Regards
    Rajendra

  • Can't Log into J2EE Engine Visual Administrator

    I cannot get logged into our J2EE Engine Visual Administrator on our SAP Portal.  After I enter my userid and password (which I know are valid) I get a progress bar which progresses to approx 50%, then errors out with the message:  'Error while connecting. Cannot open connection on host: <IP-address> and port: <port>'
    I found this document to troubleshoot the problem:
    https://cw.sdn.sap.com/cw/docs/DOC-29070?treeid=DOC-7447
    It says the problem is likely that the P4 port is incorrect or the wrong transport layer is selected in my connection string.  It suggests using the config tool to find the P4 port and has a diagram showing the port in the local properties.  When I go to my config tool, I am missing the Local Properties box.  My screen only shows the Global Properties.  Is there somewhere else to check the port.  I am pretty sure I have the right port because if I try to connect using an incorrect port I get the error message instantly. 
    The transport layer in my connection string is 'default'. 
    Can anyone help?  Thanks.
    Our Visual Administrator version is 6.40 Support Pack 22.  The java version is 1.4.2_13.

    Hi Kathryn,
    P4 port is used for connecting to VA. P4 port will be 5<Inst no>04.
    Please check if you have this port while connecting to VA. You can check this port in the index page of your portal.
    Can you try restarting the portal instance ??
    Also you need not enter userID for logging into VA. By default it uses "administrator" user.
    You may also check if the administrator user is locked.
    Revert if the issue persists.
    Cheers.,
    Raghu

  • Deploying a jar file into J2EE server

    Hello,
    I need to deploy a few jar files I need in my jsp pages I deploy into EP 6.  I'm using SAP Web AS 6.40.  I tried to copy them into F:\usr\sap\DEP\JC00\j2ee\cluster\server1\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\lib folder but after restarting J2EE server, I still have an error for each import I'm doing for the classes contained in my jar files.
    I also tried to pu them in PORTALINF/lib folder of my project but it doesn't work.
    Does anyone have an idea ?
    Thank you !

    Hi Olivier,
    you could try the following approach:
    1. Package your JAR files as J2EE Engine libraries and deploy them on it as described here: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/2ade3fc6c6ec06e10000000a1550b0/frameset.htm">Working with J2EE Libraries</a>.
    2. Set reference to this library from the application that use them. Depending on your application, refer to the appropriate documentation:
    -- reference from a J2EE app -> see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/15/d5d93fe80fed06e10000000a1550b0/frameset.htm">Referencing Libraries in Applications</a>
    -- reference from a portal app -> see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/02/788540ae1dbb4de10000000a1550b0/frameset.htm">Referencing Elements</a>
    Hope that helps!

  • Moving from Corel Ventura into InDesign CS4 - prints dark

    My company has been using Corel Ventura for years, up to version 10.   We are now switching in InDesign CS4, but everything is printing dark.  We use it to publish black & white manuals, including some photos  & vector art.
    Ventura had an essentially unmanaged color workflow -  everything was set to generic - i.e. - "Generic RGB" & "Generic  CMYK"
    In Indesign, currently we are using "North American General  Purpose 2".  The files are printed to a postscript file in InDesign.   Then made into a PDF via Distiller.  The settings for the PS file &  Distiller we are using came from LightingSource.com.
    I  was assuming that the problem came up in the creation of the PS file -  under Color Handling - it is set to "Let InDesign Determine Colors".  So  I took the other option & used "Let PS printer determine colors"   The pages print lighter now, but they are actually too light.  I'm not  sure what to try next, given that any direct alteration of the printer  setup is out of the question.
    Any help would be great!!!
    Lighting Source Settings -  http://lightningsource.com/ops/files/premedia/PSsettingsINDcs4_PC_int.pdf

    Not knowing more, this is a possible solution if you have Photoshop:
    1. In Photoshop with no documents open: Edit Color Settings. By CMYK, Custom CMYK. Black Generation "Maximum"
    2. Hit OK, but NOT to the whole Color Settings dialog, just the Custom CMYK dialog. Again in the CMYK pull down, "Save CMYK" Put the profile in your Color Sync folder where InDesign will recognize it. After you save it CANCEL. You don't really want to alter your Photoshop color settings, you just want to create the Max Black Generation profile
    3. In InDesign. Create a top most layer on master page. Create a white box to fill the whole page. Set Blend Mode to "Color" Lock the layer.
    4. Change the transparency blend space to RGB (Under Edit)
    5. Assign the new Max Black CMYK profile to the ID document (Edit: Assign Profile)
    6. Check with Separations Preview, you should have K channel only
    7. Export PDF/X1a. By Output: Destination: "Document CMYK." You must flatten transparency when you output PDF, and X-1a will do this. The PDF result will be black and white, K channel only. Verify in Acrobat.
    This process converts an all color InDesign document to K only CMYK. Dot Gain will be standard 20% but can be changed in step 1 when you create the custom CMYK.
    Any grayscale images placed should not be affected by this workflow.
    This process is the closest thing I know of to grayscale color management in InDesign.

  • How to import an j2ee project into j2ee perspective of  NWDS

    while trying to import an j2ee project into NWDS .....it is giving an error """unbounnd classpath container:org.eclipse.jst.j2ee.internal.web.container".
    So where must be the problem.Should i have to install some eclipse plugins in the NWDS ????

    Hello again
    Sure, you can import the topics as a "batch" by selecting many topics at once.
    As for the links, I'm thinking that as long as you maintain the relative locations between the linked topics, that all should be fine.
    What I mean by the relative locations is to say that if you have a folder structure in the source project, you will need to ensure you have the identical folder structure in the destination. Then ensure the topics are copied to the exact folders.
    Cheers... Rick

  • Problem intregrating Flash help usingRobohelp 8.0 into J2EE project

    Hi,
    I have am working on J2EE project and I have a small issue with getting Flash to run off my localhost server.  I have managed to get the webhelp working but I want to see what the help looks like using flash. I am getting and error when I am trying load the index file:
    "invalid path was requested /application/FlashHelp/whproj"
    I am using have Apache 6.0, struts 1.2.  It loads from the hard drive in both IE and FIrefox but not when I am running from the server.  When running on localhost in Firefox it loads the righthand contents page but none of the dynamic content.  In IE8 it load nothing at all (I assume because it doesn't know what to do after the error is thrown).
    Can anyone shed some light on this topic?
    thanks

    The problem is solved.  The apache server was filtering out .xml files so it was not loading whproj.xml thus all the other *.xml and subsequent flash objects were not loading.  That was only 2 days of trial and error.

  • Integrating Digital Signatures into J2EE Web App

    I have a requirement to add digital signature functionality to a J2EE web application. Our customers would like to press a �sign� button on a web page, be prompted to connect their hardware security token (e.g. USB device or smart card), and the signatures stored inside our system for later verification (e.g. in court).
    The main issue I can see is that when using hardware-based tokens the private key can never leave the device, so the device itself does the signing. Whereas our J2EE Web Application has all the code on the app server tier, and the data is located on the database (and in our architecture cannot be exported to client PCs for security reasons).
    Does anyone know of any solutions to this kind of requirement? Any vendor toolkits that allow this? From what I�ve read from researching this subject the pieces are all there but most web-based security solutions only implement application login authentication of one sort or another.

    Hi Tony,
    As of DIAdem 2012 there is no product feature that makes it easier to create a web front end to DIAdem.  You can host DIAdem with a terminal services approach such as Citrix, which will give you all of DIAdem's functionality in a web GUI.  You can also host DIAdem on a cloud server if that's where your data is.
    On final option is that LabVIEW offers a user programmable web server which can make calls to DIAdem via ActiveX.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Venturing into MPLS Network

    Hi all, it is just my curiousity that ended up with a small discussion like this. Here's about it...
    My company has a main client which have tonnes of remote sites connecting to both their HQ and Disaster Recovery Centre. Some of the remote sites still running on frame-relay, while other is purely leased-line. There's a few question I wish I can clear up as follows:
    i. When the client have frame-relay device, what we do is create a tunnel and route all the frame-relay traffic over. Is there any advantage if we change it over to MPLS?
    ii. Even if comparing to leased-line services, what kind of advantages I can expect if our cliet migrate over to leased-line?
    iii. If one customer is running purely on frame-relay connectivity, any difficulties will arise when they want to switch over to MPLS network?
    I still never has any hands on experience on the MPLS, that's why need to gather some info in the first place, I'm currently have a glance through those MPLS guides and configuration examples, but I knew that perhaps in real-life network, things may differs, in the meanwhile I'm studying through it, hope to gather some precious opinions. Regards

    Hello,
    Regarding answer iii: What you have to use inside the MPLS cloud is MBGP to route the customer prefixes. In your LAN however you will have an IGP like EIGRP. This means you need mutual redistribution between MBGP and your IGP. So a routing loop can occur once you have at least two pathes. An Example:
    N1-CE1 - PE1 - PE2 - CE2
    with: CE1 - PE1 using RIP, CE2 - PE2 using RIP, PE1 - PE2 using MBGP and a FR PVC between CE1 - CE2 using RIP
    This would be the case when you migrate from FR to MPLS VPN and do not shut down FR the very moment you activate the MPLS links.
    What can happen in this scenario is: CE1 is announcing Network N1 through RIP to CE2 directly over the FR PVC and also to PE1. PE1 will redistribute N1 into MBGP, send the prefix to PE2, which will redistribute N1 into RIP and send the update to CE2.
    Now depending on implementation and metrics this will result in all traffic flowing over FR or MPLS (when adjusting metrics). No major problem yet.
    The problem might occur once CE1 looses network N1. It will send an update directly to CE2 and to PE1 and a race condition exists. CE2 will still have one valid path to N1 learned from PE2 and announce this one to CE1, which will announce it to PE1 and then PE2, CE2, CE1 again and so on.
    This is an intermittend or even persistent routing loop, depending on what you have done with hop count during redistribution.
    By designing your overall routing solution carefully you can avoid this scenario.
    Hope this helps! Please rate all posts.
    Regards, Martin

  • Runtime error in "Stream XML/HTML into J2EE and Web Services Applications"

    javax.naming.NameNotFoundException: oraclestoreejb not found
         java.lang.Object com.evermind.server.rmi.RMIContext.lookup(java.lang.String)
              RMIContext.java:130
    After following step by step a least 2 times the documentation :
    http://otn.oracle.com/tech/webservices/htdocs/series/streams/content.html
    At the point "23" when I run the application I receive the following error:
         java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
              InitialContext.java:350
         void oraclestoreClient.main(java.lang.String[])
              oraclestoreClient.java:54
    Process exited with exit code 0.
    What is wrong with the installation?

    After installing the example 2 times reading the documentation, I decided to see the Real player film that should be the same. Astonished I found out that the runtime error came as expectec from 2 missing libraries that are only presented at the video and not at the HTML version (ITEM 21).
    Quite all the example I tryed from Web Services does not work like described. Is it on purpose?

  • An Illustrator person venturing into InDesign

    I have used Illustrator for a loooonnng time. Have a catalog that has been done in illy for years and think it's time to do it in InDesign. All the pages except for first and last have the same footer info on the bottom. And all but the first and last have a headline with a unique page number. 90% of my current art and information is straight vector done in illy. I have a few photoshop images. Would be working in CS 4. Any advice before I spend a long time on this?
    Thanks in advance.

    Use Master pages for your running heads. http://help.adobe.com/en_US/InDesign/6.0/WSa285fff53dea4f8617383751001ea8cb3f-7105a.html
    Use Automatic Page Numbers for your page numbers http://help.adobe.com/en_US/InDesign/6.0/WSa285fff53dea4f8617383751001ea8cb3f-7111a.html
    Use facing pageshttp://help.adobe.com/en_US/InDesign/6.0/WSa285fff53dea4f8617383751001ea8cb3f-715aa.html
    Use Styles http://help.adobe.com/en_US/InDesign/6.0/WSCF4C9C54-6350-4bbe-9D0D-BDF0016D6C83a.html
    Long Document features such as the Book http://help.adobe.com/en_US/InDesign/6.0/WSa285fff53dea4f8617383751001ea8cb3f-6ccba.html
    I recommend these books
    http://www.adobepress.com/bookstore/product.asp?isbn=032160606X
    http://www.peachpit.com/store/product.aspx?isbn=0321573579
    http://www.amazon.com/Real-World-Adobe-InDesign-CS4/dp/0321592433

  • Learning Java in order?

    Is there a specific order to learning java. What I mean is, I hava already gone through the fundementals of java at the Java fundementals tutorial on the java.sun.com tutorials page. Now that I have gone through that what is next? JDBC? Servlets? JSP? I hardly ever use swing, or applets, but I need to also study enough of everything so that I can take the java certification exam later. But, I still dont know if there is a learning order to java. Do I need to learn servlets before JSP, or vise versa. Do I need to know JDBC stuff before I learn Servlets or JSP? The java tutorials page is not in any order except in the date that the tutorial came out. They still have tutorial that go back to 1997, and I am sure some things have changed since. They also have specialized areas, such as Collections, JavaBeans, RMI, etc... I am confused on this. Could someone give me a clue.
    orozcom

    Duffy,
    Thanks for the response. I looked at the tutorial
    again, and their is another java trail, "Essential
    Java Classes", which covers: exception handling,
    threads, io reading and writing, setting program
    attributes, and accessing system resources. I think I
    will go over that information first. Then, I may go
    into the specialized trials that have collections and
    what not. after that, I think I will go into the J2EE
    stuff, doing Servlets, and JSP's unless I need to
    learn that stuff before hand. Tell me what you think.I think that's wise.
    Here is the site:
    http://java.sun.com/docs/books/tutorial/index.html.
    Do you think I need to go over the basics of Swing,
    Applets, GUI's, and in the order they specify?Personally, I don't use applets at all, but I know some folks here do. On those occasions when I have a UI, it's usually Web-based, so JSP and HTML are more important to me. I have done Swing, but not in a long time. Swing is worth knowing, and all learning is good, but the decision about where to spend your time is up to you.
    All I'm saying is make sure you have J2SE firmly in hand before you venture into J2EE, because J2EE builds on J2SE.

  • PO qty reduced who brings the cart into cockpit

    Hi all
    scenario
    sc created with 2 qty
    PO created by Buyer 2 qty via cockpit .
    Again Buyer received a call from requestor that requestor needs only 1 qty rather than 2.
    then again BUYER changed the qty to 1 from 2 via me23n. Now again shopping cart venture into cockpit due to mismatch between sc qty and PO qty .
    no good receipt done so far since so far buyer did not send the PO to vendor.
    how sc comes to cockpit after some time? who is really doing this wotk get status - variant which data plays important role here. or clean job brings... confusion.
    can you clarify this trivial things to me..
    sc folow on docuemnts updates with PO qty as 1 . but still sc did not come to cockpit.
    i am sure it will come shortly i.e sc comes to cockpit. i wanted to who does this job?
    if possible answer this.
    item guid and header guid sc where it stored in ECC table. i am pretty sure , they were stored in some tables.
    br
    Muthu

    PR -2 qty --> soco -> sc 2 qty --> PO 2 Qty -->changed to PO 1 QTY
    status run and clean run well.
    still i am looking for this sc 1 qty in the cockpit. Waitinting and waiting...
    Muthu
    works
    sc 2 qty -PO 2 Qty -
    po 1 qty -
    sc comes to cockpit.
    SG:- Stop the get status job . reduce the PO qty 1 from 2 qty thought the sc comes to cockpit. inscrutable.
    thanks
    Finally, I tried putting 0 in last.. days and running BBP_GET_STATUS_2 in debug mode. From what I see it is looking at all the SC's in the system and trying to update status for each of them. We normally run this job with 30 days on a hourly basis.
    Yes. during that time all locks will happen .did you notice in sm12 . no one can perform any activity.
    i am looking for dalily updates happened in ECC and it must be updated in SRM - with which variant.
    since i ahve some special request .
    kindly advise.
    How long it took in production . hope it may take lot of time. i am interested to know when do you run this job ? at night no business hours ..since our volume of carts are more...it runs more than 3000 secs in testing envt it self.
    Muhtu

  • Can another calendars events be integrated into a published web calendar?

    Apologies in advance for my general ignorance about iCal. I am just starting to venture into the program.
    I am the web coordinator for a nonprofit group, and am intending to use iCal to publish a web calendar for our site. I have subscribed to the US Holidays calendar, and am wondering if there is any way to get the holidays to show up in my group's published calendar (i.e. I want holidays on the web calendar, but don't want to have to plug them in myself). It is obvious how to integrate the calendars within the application -- just not sure if there's a way to make events from other calendars integrate into the published web calendar.
    Sorry about the redundancy -- just want to be clear.
    Also, is there anyway to embed these calendars into a web page.
    TIA,
    mel

    mel,
    Welcome to Apple Discussions.
    Just create a new Calendar Group, name it "Publish" for example, and drag the U.S. Holidays into that group.
    The following information is taken from iCal Help.
    1. Choose File > New Calendar Group, or hold down the Shift key while clicking the Add + button in the lower-left corner of the iCal window, and then type a name for the group.
    2. Add existing calendars to the group by dragging them under the group name, or select the group name and choose File > New Calendar to create a new calendar within the group.
    3. Remove calendars from the group by dragging them out of the list.
    You should be able to embed a link to the calendar in a web page, but I do not know how to provide a direct display of that calendar.
    ;~)

  • 500 internal server error while Export wedbdynpro content into Excel.

    Hi Experts,
    my requirement is export webdynpro content into excel sheet, so for this what i have did is
    First step:
    ) created an Extneral library DC
    2) imported the JARs to the libraries folder of the External Library DC project
    3) Right-click on each of the JARs imported to the project and added them to the public part.
    Second step:
    1) Createed a new Reuse Web Dynpro DC
    2) Created a new public part, selecting the "Can be packaged into other build results" option
    3) extrcted the full content (folders and class files) to root folder
    4) Imported the folders and files to the src/packages folder
    5)binded the attributes, created 3 methods and writen the code for those methods.
    Third Step:
    1) created one more EXPORT EXCEL DC
    2) ADDED LIB jar dc and Reuse DC IN used dc's
    3) created usedwebdynpo component and binded attributes to Table VIEW and writen the code for exposing table values.
    After this build and deployed i am getting clasnot found error
    so what i have did now is
    Fourth step:
    1)Created "J2EE Library DC"
    2) Refered "External Library DC" into J2EE Library DC.
    3) Deployed "J2EE Library DC"
    4) Refered this one in my Web Dynpro DC by giving Library Reference.
    now when i deploy and run what happend i am getting
    500 Internal Server Error SAP J2EE Engine/7.01 
    Application error occurred during request processing.
    Details:   com.sap.tc.webdynpro.services.sal.core.DispatcherException: Failed to start deployable object sap.com/export_file_excel_7.
    Exception id: [00215E78C4C0006D00000AD9000E00F00004887F642A32FE]
    Any one can tell what could be the problem.

    Thanks for sharing the solution.

Maybe you are looking for

  • A/c adapter

    Will an HP 0957-2178 a/c adapterr work with my hp 7250 printer.  If not what is the model number a/c adapter I need.

  • Server does not start using Sun Java SE 1.5.0_07

    The application server launched with startserv using Sun Java SE 1.5.0_07 , seems to hang (uyner SuSE Linx 10.1), it does not start, and stays forever in startserv. performing a kill -3 for the precess we have: "process reaper" daemon prio=1 tid=0x08

  • How do I recover a password for a Numbers 09 spreadsheet

    How do I recover a Numbers 09 spreadsheet password?

  • Error message 147:20

    I am receiving this message 147:20 when I open Acrobat Pro 9.0. How can I remedy the problem. This began occuring when I downloaded and installed a trial version of CS5.

  • S230U Twist Wifi Adapter WiDi Compatible?

    My web searches say that "some" Twist are WiDi compatible.  I'm trying to find out which wireless adapter is in my ThinkPad Twist S230U type 3347-4HU so I can determine if it meets the Intel hardware requirement for WiDi.  All I can find in the devic