How to development Java Enterprise?

Hello Everybody!
I'm VietHung Romano. I am newbie. I very love Java and I had a project about J2EE.
I want ask to every Java Developer is if develop a project by J2EE then I must part of project is important to analyze and design. What tier is important?
What of J2EE technology to I develop?
What framework to I develop?
Can I choose Strut or Spring? What is better?
What server use? WebSphere or WebLogic? What server is better?
I hope can discuss about J2EE Technology with people?
Who want talking with me can contact to me via email: [email protected] or My Yahoo! ID: viethungnguyenduc

Romano,
If you are developing this J2EE for an existing organization (client) then, the specific frameworks and products used by the organization is driven by its technology stack. For example, my company uses IBM WebSphere, IBM DB2, Struts framework for building web applications. Recently, a strategic decision was taken to move from WebSphere to Tomcat server. In most cases the architects decide what technology is permissible in that organization.
However, if you are just experimenting, then get hold of a good ide - NetBeans, Eclipse and they come with all the tools you need to run a local application. For example, both NetBeans and Eclipse has support for Struts, Tomcat, WebSphere etc.
Hope I have answered your question.
Thanks
Android_007

Similar Messages

  • How to install java enterprise on Lion

    Hi to all. How can I install Java Enterprise on Mac Os X Lion?
    Thanks to all...

    Hi Stefano,
    Did you ever get a reply, and if so were you successful and do you have it up and running?
    If so, could you pass along the info?
    Thanks.

  • How to develop java webservice in jDeveloper

    Hi,
    iam new to web services. iwant to develop the webservice in jDeveloper. i am also new to jDeveloper. ?
    can you please give me the steps to develop the webservices?
    and also give me the suggestion which tool i can use?
    if any body having the sample application please forward to [email protected]?
    regards
    ram

    Hi frank,
    thanks for your reply. i got it. but when i am testing this webservice its not calling properly.when i am calling the url,, its displaying as page cant be displayed. i had started the server as well..... what is the problem..
    this is the url what i got from the wsdl file...
    http://10.113.11.156:8888/WebApp-MyPro-context-root/HelloWSSoapHttpPort
    regards
    ram

  • Developing Java Applications for Windows CE

    Hello,
    I hope this sub forum is right. So I must develop a Java Application for Windows CE. I read something about J2ME, but I think this is only for Mobilephone and Windows CE supports AWT. So I tried just some simple forms with J2ME.
    Can anybody tell me how I develop java Applications for Windows CE? Can I use Eclipse or must I use another IDE?
    Realy I developed Swing 5-6 Month but I have no idea how I develop Java Applications for Windows CE.
    Thanks a lot for helping...

    The MIDP for Palm OS 1.0 requires Palm OS v3.5 or higher to run. According to your error message, the emulator is not running v3.5 or higher. Try to get hold of a ROM image with a later version. I've run it with v4.0 of the OS and it works.

  • How to start developing an Enterprise Service

    Hi everybody.
    I'm a student who writes his diploma thesis at the moment.
    My aim is to identify different serivce candidates with the aid of a roadmap methodology in my company. After doing a business process analysis and identifying all the IT systems and interfaces to external systems I want to develop a enterprise (web) service (with ABAP/Java) offering some type of masterdata from SAP HCM and deploy it to the Exchagne Infrastructure of my company.
    But I don't know how to start. There is too much (poor) information. Until know I did not find concrete howto-guides with examples for "developing a service" (both ABAP and Java), "deploying and testing a service with XI". Could somebody give me some hints?
    I have access to the ABAP workbench, XI and the NWDS and have read all the theoretical stuff about SOA and SAP ESOA.
    Thanks in advance,
    Stefan

    Hi Stefan,
    I might not be bang on target but nevertheless try going through the below links:
    [How to Build an Enterprise Service using SAP NetWeaver Process Integration|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c05b36f9-e7d4-2910-4488-a46be7ba2906]
    [Enterprise Services Design Guide|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40c05360-0501-0010-63bd-aedd415b6e05]
    [Enterprise Services Discovery and Design Guide|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4c1ab044-0401-0010-7aae-b6578bb18b85]
    [Enterprise Services Design Guide|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/943e83e5-0601-0010-acb5-b16258f5f20a]
    [Creating a Purchase Order Store Record Web Service|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80fa3dff-ce76-2a10-3f94-f3df8f2db5a2]
    Also see my article which explains the creation of a Web Service using EJB (so basically a java web service):
    [How to Create a Web Service using Enterprise JavaBeans|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10]
    Bye
    Ankur

  • How to develop discussion forums using java

    Hi, can any one kindly explain how to develop disccussion forums using java.
    the application is like same as this forum. one post and the replies are come after that. creating new threads.
    any tutuorial is available for this. what is best dabase for this. and which application server is required.

    if you want to use a forum for sum purpose download an opensource forum software and deploy it in a server that support the serverside technology that it uses.
    If you dont want to go through the trouble of installing the the forum software (normally there is a quaita bit of configuration to do). Goole for Free Forum Hosting and you will get plenty of places that hosts forums for you. Since they do the installation you dont have to wory about that part.
    If you really want to develop a forum software first install an existing open source forum or get an account in a free forum hoster and take good look at the forum software and the features that it provides.
    In here you only see the front end of the forum. The back end is much more complicated. You have to define forums and forum groups, you have to define user groups, you have to define which users has access to which forums. who can start topics and who can reply to topics and whgo has read only access. And how to clollect and stor statistics like number of posts by each user. And the list goes on...
    So first take a look at the features in both front and back end of an existing forum software and decide what you want in your software. Then you can design the database to support those features. And then start coding.
    Technicaly you will need to know how to do servlets/JSP and JDBC in order to build a forum. Most important part is you have to do lots of planing.

  • How to develop a windows find files like utility in java

    hi,
    I am writing a java program that provides the same functionality as provided by the Windows find files option. is there some windows dll or something like that i can use thru JNI or is there some better solution?
    any help will be appreciated.
    regards

    If your program has to be portable, I think it would be better to develop Java code in order to search through file system.
    I think you should develop objects that allows to filter files (implementing FileFilter interface) and return a list of the found files to your graphical objects.
    You can use the java.io.File.listFiles(FileFilter) method to retrieve a list of files from a given directory.
    Write several FileFilter classes (and why not FilenameFilter classes) to provide different way of filtering. Each of those will be used with the listFiles method.
    But do not forget that the way you write your filefilters will change the performance of your program.
    There is also another problem you might encounter : File Access Rights. If your file system contains file restrictions, the listFiles method may throw SecurityException (if a SecurityManager is created) or return null (if no SecurityManager is set).

  • How to develop JMS Java Application.

    Now,I develop Java Application(J2SE stand alone) to send JMS for JMS Adapter(sender) verification.
    But fatal exception is displayed when I execute Java application.
    Error is rellated to following code.
    InitialContext context = new InitialContext(properties); //←(SendJMS.java:41)
    Are there wrong points in this code or other necessary settings(for example on Visual administrator) ?
    I think that Java Appli can send Java Message to JMS provider in J2EE(XIserver) by using JNDI.
    Is my thougt wrong?
    Sorry poor English.
    Best regards.
    (Java code)
    Created on 2007/09/06
    To change the template for this generated file go to
    Window>Preferences>Java>Code Generation>Code and Comments
    package jmsPackageS;
    import java.util.Properties;
    import javax.naming.*;
    import javax.jms.*;
    @author sakurai.youkou
    To change the template for this generated type comment go to
    Window>Preferences>Java>Code Generation>Code and Comments
    public class SendJMS {
         public static void main(String[] args) {
              try {
                   //1.JNDI server connection
                   //JNDI server connection property settings
                   java.util.Properties properties = new Properties();
                   properties.put(
                        Context.INITIAL_CONTEXT_FACTORY,
                        "com.sap.engine.services.jndi.InitialContextFactoryImpl");
                   //JNDI server URL
                   properties.put(Context.PROVIDER_URL, "xidevelp:50004");
                   //JNDI login data
                   //properties.put(Context.SECURITY_PRINCIPAL, "J2EE_ADMIN");
                   //properties.put(Context.SECURITY_CREDENTIALS, "mypassword");
                   //start initial context with the properties specified
                   InitialContext context = new InitialContext(properties); //(SendJMS.java:41)
                   //2.Register the connection factory
                   QueueConnectionFactory queueConnectionFactory =
                        (QueueConnectionFactory) context.lookup(
                             "jmsfactory/default/QueueConnectionFactory");
                   //3.Specify the connection type                //JMS provider connection
                   QueueConnection queueConnection =
                        queueConnectionFactory.createQueueConnection();
                   //4.Start the connection
                   //start the connection of Queue type
                   queueConnection.start();
                   //5.Create session
                   //create session of Topic type
                   QueueSession queueSession =
                        queueConnection.createQueueSession(
                             false,
                             Session.AUTO_ACKNOWLEDGE);
                   //6.Create or look up a destination
                   //create destination of Queue type
                   //Queue queue = queueSession.createQueue("Example_destination_name");
                   //look up a destination of Queue type
                   Queue queue =
                        (Queue) context.lookup("jmsqueues/default/sapDemoQueue");
                   //7.sender
                   // create subscriber to a queue
                   QueueSender queueSender = queueSession.createSender(queue);
                   //8.Send message contents
                   TextMessage textMessage = queueSession.createTextMessage();
                   textMessage.setText("Test");
                   //send message
                   queueSender.send(textMessage);
                   //sending message
                   String messageText = textMessage.getText();
                   System.out.println("Send Message text: " + messageText);
                   //Final.close
                   //closes the jms queue session
                   queueSession.close();
                   //Close the queue connection
                   queueConnection.close();
              } catch (NamingException ne) {
                   System.out.println("NamingException: " + ne);
              } catch (JMSException jmse) {
                   System.out.println("JMSException: " + jmse);
              } catch (Exception e) {
                   System.out.println("Error");
    (error message)
    java.lang.NoClassDefFoundError: com/sap/exception/IBaseException
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:649)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
         at javax.naming.InitialContext.init(InitialContext.java:219)
         at javax.naming.InitialContext.<init>(InitialContext.java:195)
         at jmsPackageS.SendJMS.main(SendJMS.java:41)

    Hi Yoko
    have look at  this troubleshooting Pdf's
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1706a7e3-0601-0010-b4b6-c5641cccc920
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3a83c242-0801-0010-dc95-d496cf6dba9d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bd5950ff-0701-0010-a5bc-86d45fd52283
    Thanks !!!

  • FYI: Java Enterprise warning: "How to break a Sun box & repair it again"

    Hi there,
    Because of the news that the Java enterprise will be opened up I decided to replace the version I got on my 03/05 media kit with the one being made available right now. Nothing wrong there but the upgrade can be a little tricky since you're adviced to do this manually. Nothing wrong there but I decided to uninstall the current version (Q1) and then re-install the current one (Q4). Only problem; only after I tried installing the Directory server from the current release and uninstalled it.
    This resulted in a little chaos, which was entirely my fault. After entirely uninstalling the Q4 release I tried to remove the Q1 parts. But because the uninstall program (/var/sadm/prod/SUNWentsys4) was already removed I didn't have much alternatives (or so I thought).
    So last night I drank a little too much beer and then went on the "cleaning up" rampage. In my drunken mind I figured "remove all Java enterprise components = uninstalling the whole product". While this idea might make sense, it starts to become an horror story when you realize, like I now do, that the Java enterprise system replaces certain packages on your Solaris 10 system. Packages like, for example, SUNWtls, SUNWjss and (don't laugh) SUNWcsl. So what happens if you simply manually pkgrm the lot ? Well, you'll do the math but I'll give you a little hint by saying that SUNWcsl has something to do with PAM :-)
    So here I was; behind my nice Blade 100 with CDRom & 512Mb memory (soon to be doubled) but with a PC USB keyboard and optical mouse. Its a little hard to press stop-a using a PC keyboard and I got stuck since I removed some very important packages. Reinstall? I don't think so, we're using Unix here and there is always a way around your misery.
    In my case I merely attached a nullmodem cable to the Blade, hooked it onto my Linux workstation, removed keyboard & mouse and started minicom (9600N81). After putting the first install CD (thanks Sun :)) in the drive I booted the system, send a break, booted the CD and exited the installer. Now I was basicly home free since I could mount my system's slices in /tmp/rescue, access the LAN and use pkgadd (pkgadd -d ./ -R /tmp/rescue) to manually re-install the missing packages which disallowed me from logging in. (tip: if you just need a rescue environment quickly just "boot cdrom -s" for single user mode).
    And here I am again, back from the wrecked, typing and studying (Java) on my trusted Blade box again. The moral of this story: Don't drink & "quickly" admin a Sun server, its not worth the risk.
    I've picked up these hints from several websites but didn't encounter anything like this in these forums. I have to admit not having searched very hard (I only googled and used SunSolve) but I figured that this isn't highly classified info so decided to dump it here too for everyone to see. Just remember that doing something horribly stupid like I did doesn't always mean you have to re-install. You'll learn and gain much more experience by fixing things.

    You don't have a problem.
    The MS jvm is not present in the computer. If it was, it would show in IE Tools...Advanced list along with the Sun jvm (There would also be an entry for the MS console in the IE View menu - as opposed to the entry that the Sun console places in the IE Tools menu.)
    The Sun Control Panel is ignorant of the MS jvm (if it's installed).
    I don't use Firefox, but understand that the Control Panel is also ignorant of it; its install/activation is currently done outside of the Control Panel. You can probably find more info at the Firefox site.
    The vulnerability existed in both the MS and Sun (and other) jvm's but you are using a fixed version, as this reference lists:
    http://www3.ca.com/securityadvisor/vulninfo/Vuln.aspx?ID=6885

  • How to develop EJB in NWCE NWDS

    Hi Frnd...
    Any one tell me how  to develop a EJB state less session bean using NECE NWDS(7.1) i cretaed  this in NWDS 7.09 but i could not able do thsi CE version ...
    Thanks in Advance
    Regards
    Rajesh

    Hi,
    Use as follows
    1) File->New->Project
    2) Expand EJB->EJB Project
    3) Click Next
    4) Project Facets Page -> Select the Version of EJb you want to create either 3.0 or 2.1
    5)Next and Click Finish
    Your Project will be created
    6) Switch to the Java EE Perspective and
    7) Select the project created
    8) Right and select New-> Enterprise bean
    8)Select the ejb type you want to create.(Session Statefull/stateless, Message...)
    complete this wizard.
    Regards
    Ayyapparaj

  • How to convert Java code to Webservice and deploy in to JBOSS via JDEV11g

    Hi All,
    Greetings. I am trying to develop Java Web service from JDeveloper 11g which has 2 basic methods. I can able to develop the WS out of the Java through Jdev and can able to test the webservice with the help of "Test Web Service" menu option under .JPR.
    But when I am trying to deploy the WS.War file in to JBOSS app server (which is our project default server) from JDEV I couldn't able to get the option thought I have created the JBOSS server connection in Jdev. I can see only weblogic server connection under DEPLOY menu. Even if I edit the SOAP URL in WSDL to point JBOSS host and port and manually deploy the WAR in to JOBSS, it is not working, getting deployment error.
    Anyone please guide me how to edit the WDSL which should point my JBOSS server (http://localhost:8080) and how to deploy the WAR and access the webservice from my Browser. Step by step help will be really appreciated since I am new to WS. Make this WS work is very important and urgent task in our project. But no luck so far.
    Thanks in advance for each of you. Waiting for the position help.
    klogube

    Hi Shay,
    Thanks for providing the blog URL which helped me to solve my first project. Now I have changed my WebServices deployment server from JDEV Default Apps server (Weblogic) to JBOSS. Now I can directly deploy Ws.WAR from JDEV to JBOSS. But I am getting the error in the JBOSS log as soon as I deploy the WAR.
    2009-02-02 17:21:29,985 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/opt/jboss-4.2.3.GA/server/default/deploy/Testing-SampleWebServices-context-root.war
    java.lang.IllegalStateException: Endpoint already registered: jboss.ws:context=Testing-SampleWebServices-context-root,endpoint=DateTestingWSSoapHttpPort
         at org.jboss.wsf.framework.management.DefaultEndpointRegistry.register(DefaultEndpointRegistry.java:89)
         at org.jboss.wsf.framework.management.ManagedEndpointRegistry.register(ManagedEndpointRegistry.java:59)
         at org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect.create(EndpointRegistryDeploymentAspect.java:49)
    .................etc
    2009-02-02 17:21:29,987 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@a99914c8{ url=file:/opt/jboss-4.2.3.GA/server/default/deploy/Testing-SampleWebServices-context-root.war, deployedLastModified=0 }
    org.jboss.deployment.DeploymentException: Could not create deployment: file:/opt/jboss-4.2.3.GA/server/default/deploy/Testing-SampleWebServices-context-root.war; - nested throwable: (java.lang.IllegalStateException: Endpoint already registered: jboss.ws:context=Testing-SampleWebServices-context-root,endpoint=DateTestingWSSoapHttpPort)
         at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
         at org.jboss.deployment.MainDeployer.create(MainDeployer.java:991)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
         at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    .....etc
    Please help me, how to overcome this error and invoke my WS from http://localhost:8080...... (JBOSS path). I am trying to create client application too for invoke my WS and I failed to create the same while I am mapping the WSDL path in to the client application. Getting error, WSDL path is not available under localhost. (Note: I can able to see the list of WS's deployed in to JBOSS under: http://localhost:8080/jbossws/services which display the Endpoint name and address. But cant able to access the URL)
    Thanks
    klogube

  • Hi, how to develop application , matching of userid and password to backend

    hi masters ,
                  , user  have to give userid and password of back end sap system  to see particular report. i mean there is a first view ( this first view muust not be first screen of portal ) with userid and password fields . after gave his id and password he can go to second view to see the particualr details .please suggest me about how to do custom bapi code and , in also  webdynpro java  how to develop .
               i know about sso. in this concept i have to use through webdynpro java only. no need of sso concept here .
              after giving the  userid and password , those details must be match with  backend sap database.if no  one of userid and passwrod field  is  matching it has to show some error message. and in password field must be in encrypted letters .

    hi surya,
    Use JCO api to create connection to the backend.
    [JCO tutorial|http://www.apentia-forum.de/viewtopic.php?t=1962&sid=9ac1506bdb153c14edaf891300bfde25]
    On the webdynpro screen you can ask users to enter login id and password. Use this information to create connection to backend using JCO.
    Hope this helps!
    Monalisa

  • How to develope a XML-RPC client with PL/SQL

    Anyone know how to develop a XML-RPC client with PL/SQL?
    I've oracle 8i.
    Have you some example of code?
    Thanks
    Paolo

    So, you actually want to create the physical directory using JAVA?
    Then see:
    http://www.oracle-base.com/articles/8i/shell-commands-from-plsql.php

  • How to Install SQL Enterprise Manager ?

    The standard installation file which sap gives sql4sap.vbs doesnt install the Enterprise manager.
    How to install SQL Enterprise Manager (ECC6+Win2003).
    regards,
    dev

    Hi,
    Server type is normally "Database Engine". You can use the Dev. Studio to connect to various other types (e.g. Reporting Services, Analysis Service etc.)
    The Servername is the instance name you want to connect to. For a default instance it is your machinename, for a named instance it is Machinename\Instancename.
    Authentication can be Windows Authentication if you are logged on as a local Admin. For an ABAP System only Windows Authentication is possible, for a JAVA System the SQL authentication is necessary, so that you can logon as 'sa' with the password you provided in the setup.
    Regards
      Clas

  • How to call java function from PL/sql in oracle applications

    I am trying to call a java function from plsql procedure. Can any one explain how to call java function, and in which directory I have to store my java function in oracle applications. Do I need to register that java function from Application developer.
    Thanks
    Kranthi

    http://www.oracle.com/technology/tech/java/jsp/index.html
    Good Luck,
    Avi.

Maybe you are looking for

  • HT4527 How can I get my iTunes account on my new computer if I don't have access to the old one?

    My computer with my iTunes was recently destroyed.  How can I get my iTunes account on my new computer if I don't have access to the old one?

  • Can you get information from an iPhone that has been remote wiped?

    Hello, My girlfriend thought her iPhone was stolen today, so she did a remote wipe so no one could steal her information off her phone.  It ended up that she had just left her iPhone someplace and was able to get it back.  Now that she's got the phon

  • Internship in SAP campus management

    Hello everyone, I am trying to find, where is defined "internship" object in SAP Campus Management, and how can I manage all internship things of the student? Thanks in advance. Best Regards. Ayşe S.

  • Attaching HTTP Links for User Decisions?

    hi all, how can we attach HTTP Links along with User Decisions. i have previously attached Business Objects as links along with approve/reject button but this time I need to attach a HTTP link. Points will be awarded.

  • 8mm Film Transfer

    My family has several projectors and many, many reels of 8mm film, dating back to 1937. Any tips on how to transfer to a medium that can than be imported into a computer. I have Final Cut Studio so I would like to edit these myself rather than take t