Hello,
We can not write explicitly any Java class in developer, but you can write a Java service that acts as a method in the java class.
Parent folder of Java service acts as Java class, it is internally created by webMethods Developer and all Java services written under that parent folder become methods of class. You can find .class file of Java class under IntegrationServer/packages//code/classes.
If you want to make use of existing third-party Java class in Developer, then you need to import those classes or java package into your Java service, this can be achieved by adding jars under IntegrationServer/packages//code/jars. So you can use extends option under “shared” tab of Java service to inherit any methods of a class or use “Implements” option if want to implement any interface from the jars/class that is imported.
Thanks,
Naga.
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB