Ok, the esri api patch says it clearly: "SeConnection(java.lang.String server, 
java.lang.String instance, java.lang.String database, java.lang.String 
username, java.lang.String password)This constructor can be used to create 
either an application server or direct connection to an ArcSDE instance." So 
now I guess an allow-directconnect-checkbox is not needed, because the 
esri-class can automatically recognize and switch to the appropriate 
connection-mode.

For test purpose, I have rewritten arcsde-datastore (changed every port 
occurance from integer to string) and it works for each of those two "modes" 
with 9.3.1-SP2.

But it is important to keep in mind, that only 9.2 and later can use a string 
port parameter. So when working with 9.1 and earlier, the integer constructor 
has to be used. Or the user must be aware of this circumstance and know by 
himself
when to use the right port-parameter in web interface. What do you think 
Gabriel?



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to