Q
Problem solve Get help with specific problems with your technologies, process and projects.

How to lesson overhead in the Java SAP Connection

Hi, may I pose two questions? 1. What would you suggest to lessen the overhead in JAVA SAP Connection? Is it OK...

to maintain connection to SAP until the user finally logs off from a JAVA Servlet interface or will it be better that after each BAPI call that's the time the user will connect to SAP and disconnect when the data has received by JAVA? 2. What will be the best setup for an Internet based application using SAP and JAVA Servlets? Thank you very much!!! You have been so much help for us exploring this side of a beautiful world.


a) That depends on the details of the application. As long as you do not need to maintain state in SAP, it is best to use a connection pool and keep the connection only for the duration of a processing step. If state is required, you will have to hold on to the connection until you commit or roll back.
b) Please elaborate the question. I am not sure what exactly you are referring to.


This was last published in May 2002

Dig Deeper on SAP Java and J2EE

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close