[mapguide-users] Good Development Environment for MGOS
Joel Carranza
jec at gatekeeper.com
Wed Mar 7 16:29:08 EST 2007
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.
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.
Another thing which would be really nice:
A jar containing the java source files with javadocs embedded would
greatly facilitate development within Eclipse (or other java IDE).
Joel
Chris Gountanis wrote:
> 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: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] 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:
>
>> 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: mapguide-users-bounces at lists.osgeo.org
>> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Dhirendra
>> Kumar
>> Sent: March 6, 2007 10:25 PM
>> To: mapguide-users at lists.osgeo.org
>> 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
>>
>>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070307/219e4395/attachment.html
More information about the mapguide-users
mailing list