How to make web applications in JAVA

Hi!
Iam an experienced Web Programmer in languages like PHP,CGI,ASP but i haven't drunk my first cup of JAVA yet. My idea is to start making web applications in JAVA as soon as possible. But the first challenge i am facing is of choosing from things like J2SE,J2EE,J2ME. I just bought a book 'JAVA : The complete reference(J2SE 5.0)' by Herbert Schildt. It has a only a small percentage of text that looks like 'Web Programming' in the chapter 'java Servlets'. So now I think its J2EE that has all the web programming stuff. So basically iam confused and can't figure out what to read! So can anybody please tell me that what learning curve do i have to take to start java web programming? Remember, i hardly have any Java specific knowledge. But iam adept at OOPS programming(thanks to PHP).Do i have to learn that whole J2SE book if j2EE is what i need?And i don't really bother about syntax of JAVA language coz i have worked on C as well. Infact, PHP is much like C as well.
Thanks for any Help

I will once again clarify what i am sayin to avoid any confusion...
PHP is an object oriented server side scripting language.
PHP has its own semantics and OOPS defination. unlike ASP it is not dependent on other languages to execute the logic of script.
PHP has it's own PARSER. The function list of PHP is also impressive. The OOPS are pretty strong, some things are missing like Function overloading etc.
But PHP 5 has them too. (I use PHP 4.3.8). PHP runs on APACHE server or IIS with APACHE 2.0 PATCH. OOPS of PHP is very similar to JAVA(PHP also has $this-> operator). The main diffrence between PHP and JAVA or C/C++ is that variables are defined with $ sign.Actually they are never defined , they are created on fly. Array traverse functions of PHP make functions of other languages look primitive.
You can go to http://php.net and make a search on available functions and features of PHP in the online manual.
thanx.

Similar Messages

  • How to make destop application using java

    how to make destop application using java
    i mean to say when we double click on the exe file the program should lounch the application
    for windows

    when i double click ii got the msg
    Failed to lad main class manifest attribute from
    x/x/xyz.jar
    what exatly it meansIt means that your Manifest.MF for the JAR file should contain an attribute called Main-Class pointing to a class containing the main() method.
    Something like this should be present in META-INF/Manifest.MF :
    Main-Class: MyApplicationMain

  • How i can make web application by using oracle form6i

    how i can make web application by using oracle form 6i , indetail .
    A.R

    indetail .As Andy Millman might observe, you're having a laugh. This is a big topic, far exceeding what it is reasonable to expect people to help out with in a Forum. Do you not have the 6i documentation?
    OTN has a site for upgarding to web forms. Although it is mainly focussed on moving to 9i/10g a lot of the issues and solutions apply to moving a 6i client/server app to web deployment. For further help there is a Forms.
    Cheers, APC

  • How a J2EE web application access CR reports stored on the CR Server XI?

    Hi,
    I'll be working on some crystal report templates that will eventually be hosted/publish on the CR Server XI.
    My questions are:
    1. How my J2EE web application access those reports?
    2. Do my web application uses some CR API for the connectivity and integration?
    3. What will happen to the database connectivity of the report template? since the report are created locally.
    4. Can the report template be edited/updated on the server?
    5. How the CR XI login functionality be involve in the integration (web application ---> CR Server XI)?
    6. Is the J2EE web application be deployed on similar web/application server where the CR Server XI resides?
    7. What is the role of RAS, Universe, Business View Manager to this whole CR integration?
    I hope you can provide some guidance on this journey to Crystal Report world
    Regards,
    Rulix Batistil
    Genesis Networks Pte Ltd
    www.gen-net.com.sg

    1) Your application connects via the Java SDK using the appropriate JAR files.
    2) It can.  You can set the database information at runtime or use the already populated information from Enterprise.
    3) Same as 2.   Typically when you save the report to Enterprise you set up the database information there so that it runs against the database you want without prompting.  You can change this via code to hit whatever equivalent database you want.
    4) Yes.  You would have to use RAS and the RCAPI to accomplish this via code.  You can also make changes in the designer and overwrite the existing report template.
    5) You will log in via code. The information on how to do so is in the SDK documentation, which I will link.
    6) It can be deployed to the same machine as CR Server, though we recommend against that.  Typically you will want to deploy it to a seperate web server and allow it to connect to the CR Server across the network.
    7) RAS can be used to run reports, as well as the page server.  The universe and business view manager are not directly used in code.  If a report runs against a universe or business view then it will use them for data, but you wouldnt do anything with them directly.
    [BOE Developer Library|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]
    You will find the Java SDK information under the BusinessObjects Enterprise SDK section.
    Best Regards,
    Jason

  • How to deploy web application to Weblogic?

    Does anyone know how to deploy web application to Weblogic8.1?

    Hello,
    I found one error in what I have done. I add the '<context-root>' in '<weblogic-web-app>', which are not required in some other containers, and I can find the application of hello2. However, when I clicked 'submit' I got the following message:
    Error 500--Internal Server Error
    java.lang.NoClassDefFoundError: java/lang/StringBuilder
         at servlets.ResponseServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    I do not want to make changes in 'web.xml' file as it worked in other container. I guess I miss something that is special, probably basic, to WebLogic, but I do not know what it is.
    Bye the way, who know how to reward points to other people? I cannot find the 'assign points icon'.
    Thanks hoos. Your answer give me confidence that a web application could be deployed by copy war file to some directory (I guess from my experience of other containers).

  • Web application in Java

    Hello all,
    I need to develop a web application in java that will take MS excel files as input and generate output in excel format as well. Since I am not very experienced in java I am not sure what framework should I be using. Can I develop the user interface using JSwing and use servlets to make it available on web? Will appreciate any help.
    Thanks.

    You wouldn't need to use Swing. You could create your own Swing front-end (and access the web tier as a web service rather than a web app) but it wouldn't be necessary, and it would probably be too much work.
    How is this even a web application? If you're going in with a desktop app file and coming out with a desktop app file -- why and how do you feel that the web even needs to get involved?

  • How to get web application to use Tuscany without conflicting with SAP SDO

    Hi,
    We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO.  As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
    The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
    common-2.2.3.jar
    ecore-2.2.3.jar
    ecore-change-2.2.3.jar
    ecore-xmi-2.2.3.jar
    tuscany-sdo-impl-1.1.1.jar
    tuscany-sdo-lib-1.1.1.jar
    tuscany-sdo-tools-1.1.1.jar
    xsd-2.2.3.jar
    We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
    However, when we try to run the web application, the following error is logged:  java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
    The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
    So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?

    I took a look at the "printerReady" example.  Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
    Any ideas on how to find the MAC address associated with the IP addresses that respond?
    We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
    I'll try the InetPing to see how it works,
    Kirk

  • Adobe Bridge 5.0.2.4 (CS6) - How to make Web Gallery.

    Adobe Bridge 5.0.2.4 (CS6) - How to make web gallery.

    System Info:
    Windows 7 x64 SP1
    Dell T1650
    8GB RAM
    Xeon E3-1220 V2
    Crash log;
    Problem signature:
      Problem Event Name:          APPCRASH
      Application Name:          Bridge.exe
      Application Version:          5.0.2.4
      Application Timestamp:          50d99f7a
      Fault Module Name:          StackHash_59c3
      Fault Module Version:          6.1.7601.17725
      Fault Module Timestamp:          4ec49b8f
      Exception Code:          c0000374
      Exception Offset:          000ce6c3
      OS Version:          6.1.7601.2.1.0.256.48
      Locale ID:          3081
      Additional Information 1:          59c3
      Additional Information 2:          59c39f5460f96c9e8c0a2e4cf426da4f
      Additional Information 3:          f054
      Additional Information 4:          f054c556062bcb3c14c6b443b38515c8
    Event Viewer log;
    Faulting application name: Bridge.exe, version: 5.0.2.4, time stamp: 0x50d99f7a
    Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
    Exception code: 0xc0000374
    Fault offset: 0x000ce6c3
    Faulting process id: 0x1fe0
    Faulting application start time: 0x01ce7e8d7553cc63
    Faulting application path: C:\Program Files (x86)\Adobe\Adobe Bridge CS6\Bridge.exe
    Faulting module path: C:\Windows\SysWOW64\ntdll.dll
    Report Id: b3e6d539-ea80-11e2-92af-b8ca3a7791fa

  • How to make client application

    hi....
    help me...^ ^ how to make client application(not standalone..)
    I seached bea document.. but I can't it.
    if someone have sample(.ear or .jar), I hope you it share...

    Hi
    Client Application can be any Java class, JSP etc which is a part of multi
    tier architecture which accepts input from Client and directs request to the
    middle tier for processing. You can refer to
    http://e-docs.bea.com/wls/docs61/jsp/index.html
    for building jsp's as Client application.
    Regards
    johny
    "kyungmoon" <[email protected]> wrote in message
    news:3c4f571d$[email protected]..
    >
    hi....
    help me...^ ^ how to make client application(not standalone..)
    I seached bea document.. but I can't it.
    if someone have sample(.ear or .jar), I hope you it share...

  • How to create web services in java?

    Hi,
    I am a newbie to java webservices. Can anybody tell me how to create web services in java?
    Any tutorial link or step by step doc would be useful.
    Appreciate your help in this regard.
    Thanks in advance.
    naymo01.

    Creating web services in Java appears to depend highly upon the server you intend to use.
    Here's a tutorial: http://java.sun.com/webservices/docs/1.6/tutorial/doc/index.html

  • "UDDIClerkServlet" failed to preload on startup in Web application: "uddiportlets". java.lang.NullPointerException

    Hi,
    I was trying to implement jUDDI on weblogic. I have set up all the prerequisites, i have set up the db also. I am trying to deploy the application as an ear file which contains jUDDI war file, pluto portal war file, UDDI portlet war file. Everything is working without this UDDI portlet war file now when i added this UDDI its showing the following error in logs::
    Error is: 'weblogic.application.ModuleException: [HTTP:101216]Servlet: "UDDIClerkServlet" failed to preload on startup in Web application: "uddiportlets".
    java.lang.NullPointerException
        at org.apache.juddi.v3.client.config.UDDIClerkServlet.init(UDDIClerkServlet.java:49)
        at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
        at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
        at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
        at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
        at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
        at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)
        at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)
        at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
        at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
        at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
        at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
        at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
        at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
        at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
        at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
        at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
        at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
        at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
        at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
        at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
        at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
        at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
        at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
        at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
        at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
        at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
        at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    any help will be so helpful for me... Thanks in advance, have a nice day
    Thanks
    Sharath.

    Let's say your Weblogic domain for Contract Management is located in
    C:\Oracle\Middleware\user_projects\domains\cm, please first check if the com folder exists in the domain folder. If the folder not exists, you have to reinstall Contract Management using an administrative account.

  • Error on the installation of Web Application Server Java 6.40 SP9 on my PC

    Hi, All,
    I got the following error when I try to install Web Application Server Java 6.40  SP9 on my laptop using the CD that comes with the Book 'Java Programming with the SAP Web Application Server'. I'm currently using window XP.
    The installation failed on the 3rd step 'SAP System Installation'.
    I logged on my laptop as my own userid, but I should have the administrator's rights.
    ERROR 2007-05-15 15:43:10
    FSL-00001 System call failed. Error 2 (The system cannot find the file specified.
    ) in execution of system call 'LoadUserProfile' with parameter (thread token for IT-899\j2eadm, j2eadm), line (616) in file (synxccuren.cpp).
    Do you have any ideas what it means?  Any inputs would be greatly appreciated.
    Joanna

    Thank you all for your replies.  I downloaded the newest version of Netweaver from the SAP website and got it installed successuflly.  Points rewarded...Thanks.
    Joanna

  • How to make "Levels" in simple java game

    I just wanted to know if anybody knew how to make "Levels" in a java game. In my case, it is to change two polygons that are used in the background. I think you have to use an array of some kind, but i dont really know.
    Here is my source, the polygons are by the massive ///////// areas.
    I cut out the majority of the program, because it was too long.
    public class collision extends Applet implements MouseListener,MouseMotionListener
        private  Image rickImage,mazeImage;
       Image Buffer;
       Graphics gBuffer;
       int x, y;
       int[] LeftWallX = {0,204,204,149,149,162,162,243,260,235,259,232,260,230,207,207,0};
       int[] LeftWallY = {500,499,402,402,341,324,227,191,157,141,135,123,116,109,86,1,1};
       //int[] PlayAreaX = {204,204,149,149,162,162,243,260,235,259,232,260,230,207,207,263,263,245,282,262,274,257,273,250,184,184,170,170,208,216,216};
      // int[] PlayAreaY = {499,402,402,341,324,227,191,157,141,135,123,116,109,86,1,1,86,103,115,129,138,147,155,201,230,323,340,384,384,402,499};
       int[] RightWallX = {500,500,263,263,245,282,262,274,257,273,250,184,184,170,170,208,216,216};
       int[] RightWallY = {500,0,1,86,103,115,129,138,147,155,201,230,323,340,384,384,402,499};
       boolean mouseInside, collide;
       boolean rolled = false;
       boolean msg = true;
       int sX=204,sY=490,sW=12,sH=9;
       //Declare the rectangles
       Rectangle  movingRect,finshBloc,startBloc,oopsBloc;
       //Declare the polygons
       Polygon leftWall,playerArea,rightWall;
            ///Initiate
            public void init()
                 rickImage = getImage(getDocumentBase(), "rick.jpg");
                 mazeImage = getImage(getDocumentBase(), "maze1.jpg");
                 collide=false;
                 Buffer=createImage(getSize().width,getSize().height);
                 gBuffer=Buffer.getGraphics();
                 rightWall=new Polygon(RightWallX,RightWallY,18);
                 playerArea= new Polygon(PlayAreaX,PlayAreaY,31);
                 leftWall= new Polygon(LeftWallX,LeftWallY,17);
            public void paint(Graphics g)
                 drawStuff();
                 g.drawImage (Buffer,0,0, this);
    */

    I'm not exactly sure in your case what you are trying to accomplish. If all you want to do is make new polygons for your levels then you will simply need a Vector of type level (or polygon). Store multiple levels/polygons in that vector. This can be done many ways, probably the most efficient way would be to create a class Level of sorts and create each level object from there. This way you have all your levels stored into that vector.
    I have made programs where the levels/mazes are randomly generated based on certain parameters (this way you would not need to define any specific level). This can be done inside the Level class and added to the vector so that when a level is randomly generated there are literally infinite possibilities. I would suggest posting all your code or at least a breakdown UML diagram of what is going on in your entire program.

  • SAP Web Application Server Java 6.40 download is not working

    SAP Web Application Server Java 6.40 is not working. There seems to be an issue with the server hosting the binaries.
    Antoine Voiry

    try this site
    The SAP WAS 6.40 SP9 is in for of a zip file "WebAS640SP9.zip" it is about 1 GB
    https://www.sdn.sap.com/sdn/downloads.sdn?page=webas640_sp9_maxdb_download.htm
    Also you can go to the site
    https://www.sdn.sap.com/sdn/downloadarea.sdn
    and select "SAP NetWeaver Enterprise Portal on MaxDB, Developer Edition Sneak Preview"
    to download it
    Cheers
    Sai

  • How to develop web application using ejb3.0 with eclipse

    Hi ,
    I am new to ejb3.0 with eclipse. If any one familar that please guide me...
    how to develop web application using ejb3.0 with eclipse.please help me... server jboss4.2.2. database mqsql5.0
    Thanks,

    jsf_VWP5.5.1 wrote:
    I am new to ejb3.0 with eclipse. If any one familar that please guide me...http://help.eclipse.org/help33/index.jsp

Maybe you are looking for

  • How to find all Open POs and PO status

    Hi, 1. If I open any PO (we are on ECC6.0), on the PO header status Tab, we can see the status as "Fully Invoiced or Partially Invoiced or Not Invoiced" and similarly for delivery too. Is there any table to see get these statuses directly for any giv

  • How do I make an e-mail account the default account (I have 2 accts)?

    How do I make an e-mail acct the default account?  I want my contact list to come over to my iPad.

  • My iPhoto application rebuilds each time I open it. How do I avoid?

    Each time I open iPhoto warning appears...need to upgrade library...then inconsistencies appear need to rebuild etc. etc.  But nothing changes permanently.  Why not?  How to fix?

  • How to add value in service header

    Hi, Following is the portion of service header which I am sending to my Trading Partner- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ServiceHeader SYSTEM "ServiceHeaderPartMessageGuideline.dtd"> <ServiceHeader> <ProcessControl> <ProcessIdentity>

  • ITunes killed my burner! Any solutions?

    I upgraded to iTunes 8.0.2 and now cannot burn a disc. Unfortunately now I cannot seem to burn ANYTHING with ANY software. In iTunes, the disc spins up to burn, but it jumps straight from the first track to "Finishing Disc Burn" and hangs there indef