How to automate building and deploying a BPEL application - deployment

I need to automate the building and deployment of (several) BPEL applications to a weblogic server.
I now do it using jDeveloper 11g, but I guess there should be some command line tools to do it. (I come from a Microsoft /.NET / Visual Studio background, and I can automate the deployment of my .NET applications using the command line and msbuild)
Does anyone know how to do that via the command line?

I don't have any experience with BPEL on Oracle WebLogic but according to this documentation a BPEL application is packaged as a standard EAR. I don't know exactly how your sources are structured under JDeveloper but you best option here to automate the packaging and the deployment of this EAR is IMO to use Ant (or Maven but if all this is totally new for you I would recommend using Ant).
Maybe this tutorial can help you to get started for the packaging part (basically, how to use the ear task). And for the deployment, I suggest to use the wldeploy Ant task (which wraps the weblogic.Deployer utility). I've mentioned them in this recent answer.
Also have a look at this question, it seems that JDeveloper might have some support to achieve this task (but I have zero knowledge of it so I can't provide any guidance, JDeveloper is not really widely used).

I assume you are using Oracle SOA Suite 11g? If so, have a look at Oracle Fusion Middleware Developer's Guide for Oracle SOA Suite, particularly the section 38.7 Deploying SOA Composite Applications and the subsection 38.7.5 Managing SOA Composite Applications with Scripts.
You may also find useful advice in the Oracle BPEL forums.

Related

what is best Jboss tools or product to develop web application?

I want to use jboss BPM to develop web projects.
I try install devstudio-10.4.0.GA-installer-eap.jar and then add (JBOSS Business Process and Rules Development).
is that enough?
is that correct?
what is the correct scenario and best jboss tools?
thank you for your helping.
There are 2 ways how to develop BPMN2 process
using Eclipse tooling (such as the Devstudio you mentioned)
using web tooling which is delivered with jBPM installer
There is a nice documentation about how to install jbpm and how to use both toolings at
https://docs.jboss.org/jbpm/release/6.5.0.Final/jbpm-docs/html_single/#jBPMInstaller

Cannot install BPEL for Netbeans

BPEL can install in Netbeans ?
When I search tutorial about BPEL, always use elcipse to code.
and I think netbeans use simple more than eclipse.
Why are they always use eclipse to code BPEL >
I recommend to use the development tools which work with the BPEL implementation (run-time) you have chosen, i.e. first to choose the run-time. The BPEL language itself is a standard, but the run-times differ so much, that you need to align the development tools with run-time in order to be efficient.
If you plan to use Oracle SOA Suite, then the best choice will be JDeveloper. If you plan to use JBoss Switchyard (which uses Riftsaw BPEL implementation), the best choice will be Eclipse (or the JBoss Developer Studio, which is a JBoss brand of Eclipse). Similarly with other platforms.

IBM websphere to JBOSS migration

I want to migrate EAR and WAR applications from WAS 8 to JBOSS AS 7.
Can any one provide any Check List for the same?
There's an automated pluggable rule-based migration tool JBoss Windup. Run the tool and get a report of what needs to be done to migrate.
You can also customize this tool to cover your specific code patterns you need to migrate. Sharing your custom rules back to the community is highly appreciated.
Have fun :)
WAS has tool Application Migration toolkit to check application being migrated from WebLogic /Jboss to WAS , not sure if such tool exist for JBOSS
http://www.ibm.com/developerworks/websphere/downloads/migtoolkit/compmig.htmlc

Eclipse EAR module publish log

I am using weblogic worshop to develop my spring based application. Basically it takes lot of time to publish the application to weblogic server. Is there any way to find out what’s going on when eclipse try to build and deploy the project? Basically does it maintain any log file?
Thanks ,
Manoj
Weblogic does a stupid thing according to my experience. If you deploy some WAR, it extracts the libraries in it, and does some analysis in them. You can avoid this behaviour by removing the "static" (not changed by you during work) libraries from the war during development. After removal, add them to system classpath of the domain. It will publish and start a lot faster.
You will find better support for developing Spring applications for WebLogic Server if you migrate to Oracle Enterprise Pack for Eclipse. Workshop is legacy software that is no longer being actively developed. Using Workshop is only necessary for those developing with the deprecated Apache Beehive framework.
http://www.oracle.com/technetwork/developer-tools/eclipse/overview/index.html
OEPE includes a much newer publisher implementation, so you may find your issue resolved. If not, please post to OEPE forum for direct access to people who can answer you question.
Cannot post a forum link, but you can find it from the above URL or via Google.
Thanks Konstantin and Gabor for replying to my question.
Konstantin - I am using Oracle Weblogic workshop 10.3 and I am restricted to use this IDE only.I guess it has OEPE correct me if I am wrong.Also I tried the FastSwap action but everytime I save the changes to a java file the server says -'Publish' and I have to republish the entire application which is taking lot of time.
Thanks,
Manoj

OpenESB: (How) Can I deploy an externally-created BPEL process?

I have downloaded the OpenESB-Netbeans bundle.
It can be used to create and deploy (run) BPEL processes.
But what I need is to be able to deploy an externally-created BPEL process.
My external process comes from Enterprise Architect and consists just of two files .bpel and .wsdl.
EDIT:
Enterprise Architect sadly only creates BPEL 1.x files, which are not supported by Netbeans' BPEL editor.
You'll need to create a bpel module in netbeans into which you can put your bpel file and the wsdl. Once done make sure there are no errors.
Then create a composite application project to which you add your bpel module project. You can then deploy that.