prerequisites:
1. install JDK
2. install eclipse
3. install myeclipse
4. install Web servers: tomcat, WebLogic, and JBoss
open eclipse, click "window --> Preferences", select "myeclipse --> application servers", and select a desired server.
example:
WebLogic configuration:
1.
select enable in the WebLogic Server option.
Bea Home Directory: C: /BEA
WebLogic installation directory: C:/BEA/weblogic81
admin Username: System (default)
Admin Password: Password (default)
execution domain root: C: BEA/user_projects/domains/mydomain (written based on your own domain)
execution Domain Name: mydomain (written based on your own domain)
execution server name: mydomainserver (based on your own domain)
hostname: portnumber: Localhost: 7001 (default)
click "application"
2.
Expand "weblogic8" and click "JDK ", the default "wls jdk name" is "j2re1.4.2 _ 08" (varies depending on the JDK version ). If you use the default configuration, the following error message appears when selecting the server for the Web application Program :
the selected server is enabled, but is not configured properly. deployment to it will not be permitted until the problem is corrected. please navigate to the server preference pages and verify the field with the prompt: wls jdk name
solution:
click "add... ", in" JRE main directory ", select the JDK installation directory, for example," C:/j2sdk1.4.2 _ 08 "
click" OK "to complete the operation.
then you can use the web server in eclipse...