<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>The wrapper I wrote is nothing special. It simply (crudely) wraps
around the various MGOS objects , delegating to the underlying object,
while handling the exceptions and providing names which adhere to
convention. If it becomes something which could be used in a production
environment, I can see about making it public, but it definitely isn't
there yet. <br>
However, the best way to approach this problem is not a wrapper
library, but rather another implementation of the java native interface
altogether. Such an interface is still a JNI library, and still would
link to the "30 so files needed". But, i suspect that SWIG (the toolkit
which generates this binding automatically) could be configured to
provide a interface which better adheres to java standard. I don't know
for sure. It's not something I'm familiar with, nor is it
(unfortunately) something I can afford to invest any time in right now.
<br>
<br>
Another thing which would be really nice:<br>
A jar containing the java source files with javadocs embedded would
greatly facilitate development within Eclipse (or other java IDE).<br>
<br>
Joel<br>
<br>
</tt>Chris Gountanis wrote:
<blockquote cite="mid001f01c760fc$546d1ad0$17d167d1@ChrisGountanis"
type="cite">
<pre wrap="">Is that something that could be used in other Java Runtime type servers?
Maybe one file that replaces the 30 so files needed? Mind hinting or sharing
information on this wrapper?
Chris
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of Joel Carranza
Sent: Wednesday, March 07, 2007 1:46 PM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Good Development Environment for MGOS
One problem i've had with developing MGOS apps in Java is that whatever
was used to build the wrapper library does not follow standard java
conventions. Specifically:
- method names start with upper case letters.
- everything throws a checked Exception
- MGOS collection classes don't extend the java collection classes
While this certainly is something that can be worked around, it is a
nuisance. I found myself writing an ugly wrapper library so that the
MGOS code could "play well with others". I would love to see a more
java-centric MGOS library emerge out of the open source community, but
currently I get the impression that most people aren't headed in that
direction.
Joel
Bruce Dechant wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Before I started working on MGOS I didn't know PHP. Now that I have been
working on MGOS I really like PHP. I also like it because it works on
either Windows or Linux.
C# is really nice but will limit you to the Windows platform.
Hopefully, someone else will comment about their Java experience.
Bruce
-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a class="moz-txt-link-freetext" href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of Dhirendra
Kumar
Sent: March 6, 2007 10:25 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
Subject: [mapguide-users] Good Development Environment for MGOS
Hi,
I am new in MapGuide Application Development and i want to know for
Developing Application in MGOS which language will be good and provide
better flexibility C#, PHP or Java/J2EE. I developed 3-4 another
Application in java/j2EE then this experience will help me in devloping
MGOS
Application. Please help me.
Thankyou in Advance
Dhirendra kumar
</pre>
</blockquote>
<pre wrap=""><!---->_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
</body>
</html>