Implementing a web service orchestration with BPEL in java and eclipse - java

I've been reading a lot of different tutorials for creating web services, but none of these could help me create a web service with a BPEL orchestration of web services.
How can I implement a java program that uses a BPEL orchestration to keep track of the web services being used and how can I communicate with these in the best way?
I am new to SOA, BPEL and so on so this question might seem dumb, but is the BPEL (document/code) supposed to be located at the server (web service) or at the client side?
If anyone could help me out or maybe show me some good tutorials on this topic, I would really appreciate it.
Any help will be greatly appreciated.

Bpel code is located at server side.
You could create a java program which access your bpel process, after exposing it like a web service.
Example:
http://www.oracle.com/technetwork/articles/matjaz-bpel1-090575.html
But there are better options for orchestration, like Oracle Service Bus.

Related

AngularJS/HTML(Frontend) and Java RESTful Service(Backend) Hosting

I am working on a personal project/website for classifieds from scratch using AngularJS/HTML5 for the frontend and a Java REST Api that will communicate with a database.
My main question is what are some good options to host such a site without costing me a fortune as it is after all just for personal experience and fun.
I have some java background and therefore i would want to focus on a Java based REST service. I am also learning Angular for the frontend.
What would be an ideal hosting solution for my purposes?
Any thoughts are welcome.
Thanks
Any service that supports Java applications (i.e. Tomcat) and databases should be suffice. AngularJS is client side JavaScript executed on the browser - so hosting plans shouldn't be impacted by this.
You do not need different hosting plan for angular . You can host angular website in tomcat also along with java rest api. Heroku provides free plan along with limitations.

Set up web services based environment (advice/tips to start)

I am a bit lost because it's my first time assuming this role for a project.
We are making a software which consists in an app developed in Phonegap (for making a service oriented architecture, to make multiplatform easier).
The Phonegap app (and also the admin web) will be consuming constantly web services (every functionality is a service), and is my task to set up and environment to publish the API with the different services. I have heard about JAX-RS and also Spring MVC (I prefer this last option, because the good integration with Tomcat, and knowledge on the framework).
I have more or less clear the architecture (Tomcat+Spring+WebServices), but I am not sure how to start, because of the integration with the mobile app. I obviously want to develop with Java in the server side.
Any advice to start or related?
Thanks too much to all.
I would suggest you go for Apache CXF support for Rest Service.You can deploy the same in a tomcat server.I will suggest you to read the following URLs for better understanding:
http://www.dreamsyssoft.com/blog/blog.php?/archives/7-Simple-JAX-RS-Web-Service-in-Java-with-Spring-and-CXF.html
http://cxf.apache.org/docs/restful-services.html
Hope this helps.

JavaFX application to expose Webservice

I am new to Web service, and have a JavaFX desktop application running client-side.
I am planning to create an Android application that will call the web service exposed by the desktop application. Any suggestions on how to do this? Tutorial links would be helpful.
I know you are new to webservices, but please go through some documentations first ! You may find a nice tutorial here
A short introduction to Web Services
Just to give you a brief idea on what is wrong with your question. Javafx Desktop application and an android application are both basically clients (who consume web servcies).
You need to have a Server (who exposes web services) hosting a web application, so that these clients can use it. Your webapplication build in java, php, asp etc. The language doesn't matter in case of webservices !

java web app calling a web service client (in cxf)

I need a very performant and scalable solution to calling web services from java webapp.
Could someone please suggest the best options for calling webservices from java webapp?
Much appreciated
If you are using a restful web service, there are a lot of client libraries which you can choose. Eg. RestEasy Client, Jersey Client,....

Java Web Apps virtual host

I have just became a partner of a company that has a site developed in JAVA. As part of the agreement they allow me to create a section on their site (so I can take benefit of their traffic), but the development of this section needs to be as less intrusive as possible.
So ideally I would like to implement an independant web application in JAVA (with same layout) with a separate database that runs in the same application server. And in the application server to make a mapping like this:
All the traffic that comes to www.domain.com/MY_FOLDER
its served by my web application, all the rest should be served by my partners site.
I have no experience in JAVA but I found that in php this can be done, so I was wondering if it can be done also in JAVA.
About the application server I dont know yet which one they are using but I guess that are using "resing server" (by caucho: http://www.caucho.com/).
I would really appreciate if you can give me any ideas of how I can achieve this.
Thanks in advance,
Juan
Only one application can listen at a given socket at one time, so you need to have the existing server forward "your" requests to your web application, if it is not Java capable in itself.
The way to do that is not standardized so you will have to talk to the server administrator.
The easiest way to start from scratch with a Java Web Application is in the Netbeans bundle with Glassfish.

Categories