Help on how to deploy a java application

i have written my first application in java and have now to deploy it.
i have used the servlet.jar, and javamail apis along with other regular ones.
i wanna know whether my clients needs to have all these jar files with him or will having just the class files do as the jre is there.

i have written my first application in java and have
now to deploy it.
i have used the servlet.jar, and javamail apis along
with other regular ones.
i wanna know whether my clients needs to have all
these jar files with him or will having just the
class files do as the jre is there.The clients don't need to have all those class files. A servlet is run on the server and the only thing that comes back from a servlet is HTML.

Similar Messages

  • How to deploy a java application -- might be silly but just help me out

    Hi I�ve developed a java application in eclipse. How do I deploy it so that it can be used by others without the help of eclipse? I can run it in eclipse but how do I deliver it to my customers and how can they use it without the help of eclipse or using java runtime commands. Please give me some pointers on this.

    Eclipse can help you to build a jar file for you.
    See: File>Export ...>Java>Jar File
    Don't forget to stick a Manifest file in that jar which points the JVM to
    the class that contains the static main() method.
    kind regards,
    Jos

  • How to deploy my Java application?

    Have a proxy server running as a plain vanilla Java application from the DOS command line in Windows. Would like to run it 'properly' on a (web) server. Have got Apache and Tomcat installed but I don't know how to adapt my application to run in that environment. The proxy server maintains a socket connection from another backend machine and pushes information from there to a client that connects to the proxy server.

    Well what's confusing is your use of "maintains", in "maintains a socket channel". That's largely counter to the design of the HTTP protocol. So I can't tell if you're using HTTP incorrectly or just describing it counter-intuitively.
    If you're opening a socket from the client and keeping it open indefinitely to maintain a kind of session, then you're not really using HTTP right and you can just drop that.
    If you really are using a series of HTTP connections, then Apache/Tomcat would be a fine thing.
    If all you're doing is an ordinary proxy server, then actually Apache can handle that all by itself with no java code at all.
    If your code is acting as a real HTTP server, then removing the web server parts, letting Apache handle that, and using Tomcat as a servlet environment would be very good. You'd be implementing only the business logic, not the standard plumbing stuff.
    Have you ever written any servlets or other J2EE stuff?

  • How to deploy the Java Application?

    I just completed a small application using JDeveloper323,
    can i to deploy it into to Oracle Database(8.1.6)?
    I want to use B/S application architecture,from Browes to run the application.
    how?
    appreciate you help.
    null

    Hi Amarys,
    If you have developed the PAR file in NWDS then you can deploy the PAR in the server with NWDS ( [Check Required Settings |NWDS 7.0 does not deploy PAR;) or in server directly (system administrator > support >> portal runtime >> administration console)
    Best Regards
    Arun Jaiswal

  • Hi team, please help me how to deploy creative cloud desktop application through SCCM for an enterprise

    Hi team, please help me how to deploy creative cloud desktop application through SCCM for an enterprise

    Moving this discussion to the Enterprise Deployment for Creative Cloud, Creative Suite forum.

  • How to deploy a Flex application (Server Type ColdFusion) to production

    I have built a flex application using Flash Builder 4.6.  It utilizes ColdFusion Flash Remoting for its data services.  When first setting up the data services I had to set a bunch of properties in the flex server section.  Which I am not sure are all correct but the app does run and connect to the data services.  They were:
    Application Server type: ColdFusion
    Use remote object access service
         ColdFusion flash remoting
    Server Location:
         Deployed to Java application server
         Web Root: v:\inetpub\testFlex
         Root URL: http://myDevServerIP/
         ColdFusion Was folder: v:\CF9\JRun4\servers\testFlex\cfusion.ear\cfusion.war
    My question is now when I'm ready to deploy to my production machine and load the app onto a tablet or other computer, obviously the Root URL will be different something like http://myLiveURL.com.  Is this the only thing I change?  Do I even change it here or is there some other location?  Any other things I need to change?
    Thanks!
    Your help is much appreciated!

    All the paths to CFCs are the same in my live production site.  Can you be more specific as to what you mean by "RemoteClass aliases in your AS Classes and CFCs (if any) are correct."?  How will the app know that the CFC is on http://myLiveSite.com instead of http://myDevSite.com?  The only line of code that I have noticed that points to a URL is the endpoint in a file called _Super_XXX.as.  And at the top of that file it says that the file is not meant for editting.
    To clarify...I see your app/code all exists on a server access via a web browser so I can understand that everything still works when deployed.  Mine is a mobile app so when I am developing and testing on my local computer the URL points to my local development machine.  However when I deploy it to a mobile device like a tablet and run the app, it needs to be able to access a cfc on a remote server via a different URL ie. my http://myLiveSite.com/myCFC.cfc instead of http://localhost/myCFC.cfc
    Thanks for your help!  I will now take a look at your thread.
    Message was edited by: ace0215

  • How to deploy my web application .war file into SAP netweaver Engine

    Hi All,
    I want to deploy web application which is developped using JAVA web technology into SAP netweaver Engine.
    I tried to deploy .war file through SDM but it complained the following error
    "Error loading archive
    C;\Document and Settings\cr1adm\Desktop\MyProject.war
      (server side name is: F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)
    com.sap.sdm.util.sduread.IIIFormattedSduFileException: The information about development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    (F:\usr\sap\JR1\JC01\SDM\program\temp\MyProject.war)"
    Can any one please suggest how to deploy external web application into SAP netweaver engine.
    Is there any procedure to follow to do this.
    your inputs will be highly appreciated...
    Thanks in advance
    JM

    You may need to convert the .war archive to SDA/SCA file  format before deploying it to SAP Netweaver Engine.
    Check out the below SAP NOTE if it is usefull.
    Note 1223957 - Usage of NetWeaver Packaging Tool.
    Apart from SDM you can also deploy the files through telnet...
    Note 859444 - How to deploy libraries on J2EE Engine 6.40
    1)Connect to telnet as below
    Start --> Run
    telnet hostname/ip address portno
    Ex: telnet xxx.xx.xx.x 5<Instance no>08
    2)Login with administrator id:
    Use the below command to deploy the files.
    deploy <directory path to the SDAs location> version_rule=all on_prerequisite_error=stop on_deploy_error=stop
    Example: deploy E:\usr\sap\trans\EPS\in\VCBASE03_0-10006939.SCA version_rule=all on_prerequisite_error=stop on_deploy_error=stop.
    Also have a look at this note which talks about the error you are getting.
    Note 1171457 - IllFormattedSduManifest/SduFileException during deployment
    Hope it helps.
    Edited by: Khaiser Khan Mohammed on Nov 7, 2010 12:17 PM

  • What is the best way to deploy a java application ??

    Hi,
    I have a question about "deploying" a java application on to a weblogic server.
    Please advise me how to automate in a best way to Deploy 10 different applications(.ear/.war) to 10 different Clusters(containing 40 Managed servers) in wls6.1......and that too in a Production environment.
    I know of using Weblogic Console OR the "deploy" utility to do so ......BUT if i have like 100 clusters .....then i would have to "deploy" 100 times ......
    is there any way that we can BEST AUTOMATE this process.
    Thanks a lot.
    -sangita

    HELLO!!! WELCOME BACK!! I THINK YOU SHOULD USE
    deploy....Hey Thanks.
    is there any network congestion OR any other problem that i can anticipate before i use "deploy" utility. I have heared of some problems(i couldn't remember them now ....because honestly, i couldn't understand them atall when a BEA consultant told me those...).
    so, any problem that may arise ....that i need to think about before deploying ~10 applications to like ~70-80 clusters ....all at a time.
    thanks again for your advise. iam learning to see the big picture of application deployment.
    -sangita

  • How to deploy DAC enterprise application on WebLogic Server

    hi,
    i have installed DAC server on Linux machine and DAC client on windows machine. I can able to log in to DAC by stand alone mode and
    Currently we are unable to login to the DAC 11g client by FMW(Web mode)
    To login into DAC client by FMW mode we need to deploy DAC enterprise application on WebLogic Server, could anybody help how to deploy DAC enterprise application on weblogic server ?
    Thanks in advance..
    Vinoth

    follow this doc http://docs.oracle.com/cd/E35287_01/fusionapps.7964/e14849.pdf
    mark if it helps

  • Deployment of Java application: prepared state

    Hello,
    Weblogic n00b here, so I apologise if this is a seemingly silly question.
    I am deploying a Java application onto Weblogic 11g (server version: 10.3.6.0) via the console, which works perfectly well with no problems.
    However, I now have a requirement to deploy the application onto the server but want to start it (i.e make it active) at a later date... possibly several days in the future.
    Deployment through the console means that the application is made active as soon as I click "Activate changes". Is there any way of completing a deployment so that the application is only "prepared", rather than "active"?
    Thanks for any assistance.

    Hi,
    One thing I would say that when you try to deploy the app and it directly moving into the Active state means that targeted server is already in running mode.
    Make sure that you try to stop the deployment archive when you dont required and it will move to Prepared mode when server is up and running and new state in server shutdown mode.
    Hope this will help you.
    **Note there is so such option for non-active mode deployment.
    Regards,
    Kal

  • How to make a Java application that will change the client box's IP address

    HI how to make a Java application( that application would be run on the client ) that will change the client box's IP address ( IP address of itself )

    If you can do that through the command line, then use Runtime.getRuntime().exec(...) to execute your command.

  • How to schedule a java application via Windows Scheduler

    I can't figure out how to schedule a java application using the Windows Scheduler. Do I schedule the java application with the .class file as a parameter? How do I pass arguments to it?
    To execute FileCopy.class, my best guess was:
    Start | Control Panel | Performance and Maintenance | Scheduled
    Tasks | Add Scheduled Task | Browse | Program Files | Java |
    jre1.5.0_06 | ... Advanced Properties
    Under the Task tab:
    Run: "C:\Program Files\Java\jre1.5.0_06\bin\java.exe"
    Start In: "MyDocuments\Eclipse_Workspace\Java_File_Copy
    FileCopy"
    This does not work. How do I schedule the FileCopy.class java application, and how can I pass arguments to it? Can this be done without specifying a password?
    TIA,
    John

    Suppose that your class is FileCopy (has no package name) and is located under MyDocuments\Eclipse_Workspace\Java_File_Copy folder, then you should have:
    Run: "C:\Program Files\Java\jre1.5.0_06\bin\java.exe" FileCopy
    Start In: "MyDocuments\Eclipse_Workspace\Java_File_Copy"
    And yes you must provide a user password to execute the task.
    Best way to do this is to create a special user (with password) for executing this task.
    Regards

  • How can i run java application at system startup just liks as services

    How we can run java application at the time of system
    starts up just like as services.

    Hi,
    At first you have to create an exe of the class file.
    for that go to the site www.duckware.com/java2exe.html
    Click on the j2exe23c.exe(75k) download it and install in ur system. convert the class file to windows exe.
    The put the exe in the startup folder in windows.
    If ur not able to find that folder search for it and put that exe in that folder.

  • How should I deploy my java application

    Let's say I have a package with a main class, and the main class uses some class in the package
    I export it all in the package in a jar file using Eclipse
    Then, I put the jar file in the lib
    and run using
    java -cp "A1.jar";"lib/*" package/Mainclass
    Is this the correct way of running java application?

    Well that's one way of running it yes, but certainly not the easiest; this way I'd create a shell script for it.
    But you should look into making it an executable jar. Then you can just run it with 'java -jar A1.jar', or if the app does something with a user interface you can probably just double click it in your OS's graphical shell.

  • How to deploy my forms application within OAS 10.1.3.2.0

    Dear all,
    I cannot find the web service in OAS 10g release 10.1.3.2.0, so how to deploy those oracle forms application within OAS 10.1.3.2.0.
    Thanks for anyone help to give the answer!

    Hi Grant,
    I have been hearing since quite some time now that slowly Oracle is shifting its focus towards J2EE and Java based technologies and there are plans also to make Forms obsolete in future.
    What is your comment on this?
    Thanks and Regards
    Amit Trivedi

Maybe you are looking for

  • If server certificate expired, can that give my client SSLHandshakeExceptio

    If a servers certificate has expired, can that give my client a SSLHandshakeException? javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderExcepti

  • AIR app won't debug or compile in FB 4.7

    So I have an AIR app that's been around quite awhile, going back to Flex Builder 3 and AIR 2.x... I've recently upgraded to Flash Builder 4.7 and I had no troubles with this app until today when I tried to run it in Debug mode -- I got some errors ab

  • FireWire 800 questions

    I have a few FireWire 800 questions: Do all FireWire 800 connections use a 9-pin connector cable? Can the FireWire 800 with 9-pin connector also be used to power devices just like with a FireWire 400 port using a 6-pin connector? And lastly, what typ

  • Cross Company Code Salary Run

    Dear All, I have scenario form my client that, in future there is two Company codes A1 and B1. If an employees has been hired for Cocd A1 but his salary should be processed from Cocd B1 is it possible in SAP??? What are the implications and areas we

  • 11g Report supports Dot Matrix Printer ?

    Hi, We have 11g reports, with following Font; Windows Font - Arial Java Font - SansSerif We have Billing with carbon-copy, so we have to print it on Dot Matrix Printer, but printing is not of good quality. When we print of Word,Excel documents with s