• Post Reply Bookmark Topic Watch Topic
  • New Topic

what is needed to develop and deploy a java project on web

 
purna adinarayan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello friends

i want to develop a website using jsp and servlets.but i have a few questions:


1: i want to use oracle for database, can i use express edition?


2: after writing the code how do i transfer the code to the client

3: how to deploy the website on internet

please help me because i have no experience in this ...i am doing for first time
 
Tim Holloway
Bartender
Posts: 18412
58
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use Oracle Express for testing. Unless they've changed it, you have to have it on the same machine that's running the webapp, though. Since competitors do allow alternative hosts in their "community editions", that particular restriction may no longer apply.

To deploy a Java web application, you have to have 2 things:

1. A deployable module (WAR or EAR)

2. A server-specific Deployment Descriptor.

The second item is often an XML file, but frequently you can use the webapp server to create one for you. In the case of Tomcat, for example, it can be done automatically just by dropping a copy of the WAR into the TOMCAT/webapps folder, although that just creates a default descriptor (Context) and it won't have the advanced features such as definition of a database connection pool for your Oracle server. A lot of webapp servers also feature a deployment application that runs as a built-in webapp which will handle the details of customizing the app deployment.

To deploy on the Internet, you merely need to have a webapp server which is visible on the Internet and deploy into it. You'll usually want to register a domain name (such as www.coderanch.com), but all that's really required is a public IP address and an open firewall port.
 
Guillermo Ishi
Ranch Hand
Posts: 789
C++ Linux Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ifyou aren't committed to a particular database or framework the easiest way to get something going on the web is Google App Engine. It is free for a light load. It is also has huge scalability built in, transparent to you. You can use your domain name or be a subdomain of appspot.com. You can use Java or Python. I haven't used Java yet.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!