• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

how to build / deploy using jboss?

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got a code pack which is in the following structure and im asked to do deploy and run web base applicaiton.

src
- com
- kdPack
- common
- remote
- ui
web
- images
- META-INF
- application.xml
- WEB-INF
- classes
- web.xml
- index.html
- welApplet.jsp

when i build this project, im missing somthing and it is not creating the .class for a jsp file.
it is basically multi tier application and as far as i know,
Presentation Layer is applet running in a webbrowser. These applications communicate to the business logic layer using RMI/IIOP protocol.
Business Logic Layer All the business logic of the enterprise application is implemented in the middle tier using EJBs (Enterprise Java Beans) and other J2EE technologies.
In the doc. they told me to use IBM’s WebShpere and IBM java sdk. But im using sun java and jboss server.

- I want to know how to build this first? like having some folder structure in the order and deploying in server. Please guide me.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dhamayanthi, welcome to Java Ranch!

it is not creating the .class for a jsp file.


JSPs are usually compiled at run time by the app server, unless your build does this specifically.

In the doc. they told me to use IBM’s WebShpere and IBM java sdk.


WebSphere apps tend to use vendor-specific extensions and are difficult to port to other app servers. You probably will not be able to simply deploy the app to JBoss AS.

I want to know how to build this first?


You have the build script, what does it do? In other words, we cannot answer this for you because we don't have the app nor the script.

like having some folder structure in the order and deploying in server


Follow the standard WAR directory structure:
- static content in the base directory or some subdirectory
- classes in WEB-INF/classes
- JAR files in WEB-INF/lib
- the location of JSPs depends on your app's framework
 
Dhamayanthi Karuppanan
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Thanks a lot for your reply. Now i'm able to build and deploy. I have not used any build scripts. Just used eclipse to build source codes and i make the folder structures.

Im able to deploy and see the home page of that application too.

Please apologize me, I want to know how to debug the code. Im building this code and deploying as a .ear file in turn this will have .war file for this applet codes and .jar files ejb related codes.
something like this:
.ear
- META-INF - application.xml,
- .war [applet.jar, remote.jar,ejb-base.jar,index.html,welnet.jsp, WEB-INF-web.xml]
- srccode.jar - [src is built as jar]

Please guide me, is there any way to debug this code.

Thanks
Dhama.
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eclipse has a tutorial on debugging Java EE apps, you should start there. Look under Help Contents, then in Web Tools Pltaform User Guide | Using Server Tools | Application Testing and Publishing | Debugging Applications On A Server.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!