Skip to Content

Developing Web Services in J2EE and consuming in SAP NetWeaver Visual Composer Part1

This blog will explain how to use existing Java System services in SAP System. One of the solutions is to make the Java function as Web Service and consume in SAP System. Here we have shown simple steps to develop Web-Service in J2EE using NWDS Tool, Testing the Web Service and will show in the next blog how to consume this web Service in SAP NetWeaver Visual Composer.   Prerequisites: • SAP NetWeaver Developer Studio 7.0. • SAP J2EE Engine. • SAP NetWeaver Visual Composer 7.0.   Implementation: Launch NWDS and create new EJB Module Project.  imageimageGive the EJB Name, EJB Project, Bean Type as StatelessSessionBean, package name. We get the required Home, Remote Interfaces and Bean Classes, Click finish.   Here we are going to create two Business logic methods. * ConcatinationOfStrings takes three String parameters and returns the concatenated String. imageAfter creating Business Methods, finish the EJB creation. We can see the created EJB Module Project hierarchy as follows. image
You must be Logged on to comment or reply to a post.