It may just be my perception but it seems like there has been an unusual number of questions about how to do things in Java within Integration Server. I thought I'd post a gentle reminder of the three guiding principles of Integration Server development:
1. Don't write it in Java.
2. Don't write it in Java.
3. Don't write it in Java.
;-)
Of course that's an extreme point of view but it's worth keeping in mind. There have been various discussion threads over the years about the use of Java services. For example, this
one from 2002. These threads have generally had several posters (including yours truly) pointing out that use of Java should be the exception, not the rule. Our esteemed founder, Dan Green, stated: "Without sounding melodramatic, Java developers can significantly increase a project's time-to-market and ruin your ROI."
It is quite tempting to write things in Java, particularly when one has a Java background but is new to FLOW. Generally speaking, using Java services to accomplish most tasks is not necessary. Processing XML, interacting with databases, manipulating lists and strings, mapping data elements and more can all be done without using Java. As a rule of thumb, all these
should be done without using Java.
Using Java makes development and debugging more difficult. It generally takes much more effort to do many things in Java services which can be easily accomplished in a couple of FLOW steps.