IBM BPM, V8.0.1, All platforms > Migrating and upgrading your IBM BPM environment > Migrating from other products > Migrating from WebSphere Studio Application Developer Integration Edition > Additional migration information > Create SCA Components and SCA Imports for the services in the application for rewiring
Migrating a Java service
You can migrate a Java service to an SCA Java Component.
In WebSphere Studio Application Developer Integration Edition when generating a new Java™ service from an existing Java class, the following options were given:
- Create XSD schemas for complex data types:
- Within the interface WSDL file
- As a new file for each data type
- Support error handling capability:
- Generate fault
- Do not generate fault
- Other details about the service to generate such as binding and service names
There are many new components that offer new functionality such as data mapping, interface mediation, business state machines, selectors, business rules, and more. First you should determine whether one of these new component types can replace the custom Java component. If that is not possible, follow the migration path described below.
Using the Migration wizard results in the creation of a business integration module with the WSDL Messages, PortTypes, Bindings, and Services generated in WebSphere Studio Application Developer Integration Edition.
In the Business Integration perspective, expand the module to see its contents. Open the Assembly Editor by double-clicking the first item under the module project (it will have the same name as the project).
If the Migration wizard did not fully migrate all of your service projects, you have the following options:
Create the custom Java component: option 1
If the Migration wizard did not fully migrate all of your service projects, you can use the IBM Integration Designer Java Component type to represent the Java service as an SCA component. During migration, custom Java code must be written to convert between the SCA Java interface style and the existing Java component's interface style.
Create a Java web service: option 2
If the Migration wizard did not fully migrate all of your service projects, an alternative option to consider using is the Rational Application Developer web services tools that allows you to create a web service around a Java class.
Advantages and disadvantages for each of the Java service rewiring options
If the migration wizard did not fully migrate all of your service projects and you have opted to do so manually, note that there are advantages and disadvantages for each of the Java service rewiring options.
:
Create SCA Components and SCA Imports for the services in the application for rewiring