Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Tools > using MapViewer...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 2656 of 2769
Post > Topic >>

using MapViewer from PL/SQL vs Java

by Lukas <lukaslatz@[EMAIL PROTECTED] > Nov 1, 2007 at 10:33 AM

Hi group!

The MapViewer User's Guide has this to say about using MapViewer from
PL/SQL:
"The usage model for the SDO_MVCLIENT package is almost identical to
that of
MapViewer JavaBean-based API" etc etc .. "For usage and reference
information about specific functions or procedures, see the
description of the associated JavaBean-Based API. methods and
interfaces in Chapter 4"

If I don't misunderstand the basic concept, in a Java Web App (using
the MapViewer Bean) you create a MapViewer object for each HTTP-user-
session, like so:
MapViewer mv = new MapViewer("http://my_corp.com:8888/mapviewer/
omserver");
.... which you would then store in the user's session object, so that
the MapViewer Bean conveniently holds the map's state on the user's
behalf.

To do the equivalent in PL/SQL, the User's Guide suggests:
"connect scott/tiger
call sdo_mvclient.createmapviewerclient(
'http://www.mycorp.com:8888/mapviewer/omserver')
;

The preceding example creates, in the current session, a unique
MapViewer client
handle to the MapViewer service URL"

Does "current session" refer to the HTTP-user-session? While I've used
PL/SQL before, I've not used the PL/SQL Web Toolkit. Is the session
handling implicit here (and invisible?) or should the sdo_mvclient be
subsequently stored in the PL/SQL equivalent of a (J2EE) HttpSession
object?

YT
 




 2 Posts in Topic:
using MapViewer from PL/SQL vs Java
Lukas <lukaslatz@[EMAI  2007-11-01 10:33:10 
Re: using MapViewer from PL/SQL vs Java
Frank van Bortel <fran  2007-11-01 19:58:07 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 6 0:07:10 CDT 2008.