[mapguide-users] Level of Java support
Jason Birch
Jason.Birch at nanaimo.ca
Fri Dec 8 12:02:16 EST 2006
Scott, that's great to hear.
Once we get the MapGuide project moved over to another server where we
have more control, I'm hoping that we will be able to set up some kind
of service where users can share code that they have developed.
Probably with a requirement for an LGPL or less restrictive OSI-approved
license, but we'll have to decide that at the PSC level. Don't want to
end up with the commercial/community mishmash that ArcScripts turned
into.
Jason
________________________________
From: Scott Reisdorf
Sent: Friday, December 08, 2006 06:31
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] Level of Java support
Jason and Steve,
As a Java developer using both ArcGIS and MapGuide, I have to say I am
very happy with MapGuide and its Java APIs.
The Php samples can be seamlessly written in Java. There is no hokey
notion of wrapping the COM objects in Proxy objects which you need to do
with ArcGIS. For example I am almost done writing the Query Task
feature in Java presented in the PHP online sample found here
(http://data.mapguide.com/mapguide/gt/index.php). Once I do I will post
this to the group and anyone who is interested. Again when writing the
Java version, for the most part I just walked through the PHP code and
changed the syntax to match the Java API.
Again I am very pleased with the direction MapGuide is going and the
resources and results this newsgroup brings.
-scott
Jason Birch wrote:
Hi Steve,
I'm pretty happy with the way that our community is developing;
most questions are getting answered these days, and many of the answers
are coming from other users rather than from the developers. This is a
great sign.
That said, we're still really in the early days. There are at
least a couple Java folks on the list, but they've been pretty quiet so
far. If my experience with PHP and C# has been any indication though,
Java should be pretty smooth. Basically install the server and web
extensions, and then install the Java viewer sample to get a headstart
on how the APIs are used.
If you choose to go ahead and try out the Java APIs, I'd really
be interested in hearing about your experience. It would be great if we
could start developing some documentation around using the various APIs,
including any idiosyncrasies. We could start out by posting to the
Wiki, and then move to the project website as the content matures.
I'm pretty sure that there's nothing COM about MapGuide. It's
been engineered from the ground up in cross-platform C++ using TCP/IP
for IPC, and runs natively on both Linux and Windows as a
service/daemon, as a CGI "MapAgent", and as a series of web-friendly
APIs. These APIs are generated using SWIG to wrap the C++
classes/methods, and in Java's case I believe that SWIG generates JNI
wrappers. I'm sure that a real developer will correct me if I've got
any of this wrong...
Jason
________________________________
From: steven citron-pousty
Sent: Thu 2006-12-07 9:45 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Level of Java support
Greetings all:
I have searched the mailing list and it seems that the level of
interest/support for Java is not really there for the MapGuide
Community. The documentation does most of it's samples in PHP which is
not what I am interested in, nor are most of my clients. Can anyone give
some pointers on getting up to speed on the Java interface to mapguide.
One quick question - is the Java version using JNI or some
COM/Java bridge? I am kinda tired of that with ArcGIS products and do
not relish the thought of bugs in the code crashing my JVM.
Thanks
Steve
________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
More information about the Mapguide-users
mailing list