I have a JSP on my application1. I want to call a class file from another application2 to perform insert operations on click of button in application1.
Can someone please give me an idea how can I do it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you have two options as far as I am aware.
1) Make the class you want to call from application2 available to application1 and then call it.
2) Expose the functionality of the class as a web service in application2, and then use it from application1