Wednesday, September 27, 2017

Create Java Project running on JBoss using Eclipse

Pre-requisition:
How to start JBoss Server using Eclipse

Create Java Project running on JBoss using Eclipse:
  1. Start Eclipse, and click “File > New > Other…”.
  2. Click “File > New > Other…”.
  3. Select “Web > Dynamic Web Project”, and click “Next”.
  4. Enter “HelloWorld” as Project Name, and click “Finish”.
  5. Create “index.html” in WebContent folder.
  6. Edit index.html and fill up.<p>HelloWorld!!!</p>.
  7. Right click index.html, select “Run As > 1 Run on Server” to preview.
  8. You can preview using this URL, http://localhost:8080/HelloWorld/index.html.

No comments:

Post a Comment