i got a code pack which is in the following structure and im asked to do deploy and run web base applicaiton.
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.
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
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:
- 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.
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.