Results 1 to 5 of 5

Thread: deployment

  1. #1
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default deployment

    assuming my test in a moment goes well, how do I deploy?
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default

    having a client of 1 (or 2 counting my wife) I have no idea. I write and test the code, put it in a jar, copy the jar to the runtime folder, create a shortcut for it and sometimes add an entry to the Windows Registry so I can start my program by clicking on a file.
    It's been a weak point in my experience. Will be interested in how it's done.
    Norm

  3. #3
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Which is the Server in which you want to deploy?

    As Norm said v need to jar the class files n place it in Server specific folder, some IDE's(like Eclipse) when linked does this task of deployment for us.
    To finish sooner, take your own time....
    Nivedithaaaa

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    All the time what I have done is create a jar file at the end. In NetBeans we can easily do it. Simply build the project. After that in the project folder we can find a folder name 'dist', that is the deployment package I used from a long way back. :)

  5. #5
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    8

    Default Eranga's got it

    Quote Originally Posted by Norm View Post
    (...snip...)It's been a weak point in my experience. Will be interested in how it's done.
    Norm
    Usually, distribution of the jar is the first approach. The tool I am using is rich with features the advanced worker can utilize for time-effectiveness and blunder reduction. Eranga answered the first part of my question.
    Niveditha: Which is the Server in which you want to deploy?
    Originally, test on Tomcat - locally - using NetBeans idea of how that should go. Try to do everything using the fancy tools and reading as much as I can. Test moderately, then deploy to a Tier-1 commercial server I have hired. These guys know what they are doing. I have Tomcat already up, but do not know how to restart - I was told yesterday how to do it, but did not gain any footing on actually being able to do it. In lieu of doing what I was instructed, I put up a xml file in WEB-INF.
    Eranga: ( dot jar file )
    What I am trying to do here is grasp how NetBeans wants to do it. I am able to compile a class file, I will look in dist this morning. I can put the jar file in libs on the commercial server. What my goal here seeks to achieve is grasp all the xml and so on that should wrap the application. I have several apps I want to have run individually, as well as a default that wil come up if nothing else is found.

    edit: What I ended up doing is putting the ( I found the .war file !... horray ) in webapps.
    I also put up a .jsp in public_html to call the servlets I had compiled today. Not much traffic so I can test in the intended directory for a few days.
    Last edited by Nicholas Jordan; 07-10-2008 at 03:52 AM. Reason: addditional work
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

Similar Threads

  1. Replies: 1
    Last Post: 06-02-2008, 09:13 PM
  2. Deployment in jboss
    By scott2srikanth in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 12-10-2007, 03:17 PM
  3. Replies: 3
    Last Post: 08-01-2007, 04:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •