Skip to Content
Author's profile photo Lakshmi Narasimha Prasad Thudimella

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

Assigned tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Madan Mohan Agrawal
      Madan Mohan Agrawal
      Nice blog Lakshmi,

      We are looking for the next one too!!

      Regards,
      Madan Agrawal

      Author's profile photo Former Member
      Former Member
      Difficult things made easy here......
      I was helped with this blog.....