Skip to Content
author's profile photo Former Member
Former Member

Sap J2ee is instaled on remot host

Hi,

I'm work in a proyect with a page web in html,in Sap netweaver developer studio(eclipse) and i like insert date in a database that it is on remot host. How I can to make?

Thanks.

excuse me for my english 😉

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2004 at 10:59 PM

    ok, it depends

    of what?

    of where is the database?, in case of the database is in the same web server then you can use the timestamp of the server in your sql Statement, or in the case if your Database server resides in another server then y suggest you the posibility to create an Java RMI class that lives on the database server and then call it.

    (or a servlet if you wisht to use a web container).

    Greetings

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2004 at 08:27 AM

    Hi,

    Thanks for your help.

    The database is in another server. I think that second solution is very good, but i never have work with Java RMI class. Are you know?

    Thanks, grettings

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Vicente,

      Instead of using RMI, You can directly connect remote database using JDBC connectors. Otherwise, it exists a lot of JAVA solutions like JDO or CMP (if you are using SAP J2EE for example) dedicated to persistance management.

      In case of J2EE, have a look on design patterns like facade pattern in order to never call heavy object from the client-side.

      Regards,

      Ludovic

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.