Need your help in resolving following queries:
1. If we are writing a custom JSP we can place it in teamworks.war and can access that JSP file using .lsw extension. It works fine if we are not using any import statement for the external .jar files.
But suppose our code is dependent on some external JAR file, we will have to use import statement in our JSP code, but for this we need to place this JAR file somewhere to be accessed by JSP.
My query is where do we suppose to place this JAR file.
2. If I will have to write custom Servlet code, where to place that .class file for the servlet, and how to access that servlet.
Pinned topic Placing JAR, Custom JSP and Custom Servlet in IBM BPM
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-10-09T15:09:24Z at 2012-10-09T15:09:24Z by kolban
Re: Placing JAR, Custom JSP and Custom Servlet in IBM BPM2012-10-08T12:53:33ZThis is the accepted answer. This is the accepted answer.It is a very bad practice to put your own JSP inside the product files. It is going to make future upgrades significantly harder. You need to use WAS properly and put your custom items into your own ear/war file that is deployed alongside the application. This should not be a big problem, since IBM BPM is a bunch of different EAR files that work together.
The approach you are following was done frequently prior to the IBM aquisition of Lombardi since Teamworks 5 and 6 supported multiple application servers (WAS, JBoss, and WebLogic) and the services team did not have the time to figure out how to do this for each of the environments. Now that WAS will be the only application server ever supported, we can take the time to learn how to do these things since following the correct approach will work at every customer.
Andrew Paier | Director of Special Operations | BP3 Global, Inc. www.bp-3.com
GaryS 060000DFKT81 Posts
Re: Placing JAR, Custom JSP and Custom Servlet in IBM BPM2012-10-08T15:34:58ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
Much better solutions are now available via:
- dojo widgets
- websphere proxy server
- BPM APIs
- Websphere "shared libraries" and "virtual hosts"
- create your own, custom BPM project for custom development (in Eclipse/RSA)
- reference the BPM libraries (important to avoid potential library version incompatibilities)
- build/deploy your custom EAR into a "custom server" (can be on the same BPM host or in its own server). Remember that using a separate custom server helps avoid BPM work interruption during custom EAR deployments.
- if deployed into BPM server, configure the EAR (enterprise application) to use BPM's virtual host.
Don't forget to include security configuration and role/mapping (follow examples used within BPM application - since yours will use same).
AnthonyBpm 270004REN8390 Posts
Re: Placing JAR, Custom JSP and Custom Servlet in IBM BPM2012-10-08T16:26:54ZThis is the accepted answer. This is the accepted answer.+1 to the posts by Andrew and Gary
Following on, what are your business use cases? The community may be able to provide some insight into how you can address the requirements with the features of the product..
Re: Placing JAR, Custom JSP and Custom Servlet in IBM BPM2012-10-09T07:39:09ZThis is the accepted answer. This is the accepted answer.Thanks Andrew Paier,Gary, Anthony for providing the valuable light on the topic.
As per your recommendation i created .war file and its working fine in my IDE.Now will have to install it on WAS
Is anyone aware of deployment of war file on Wepshere application server.
kolban 10000004463322 Posts
Re: Placing JAR, Custom JSP and Custom Servlet in IBM BPM2012-10-09T15:09:24ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK