Best WebGIS framework for WMS - java

I need to make a demo web project with extensive support for reading and editing WM(T)S, like this project. For technology Java or .NET are possible solutions. I tired GeoMajas for couple of days now, but it get annoying error about refresh of main map that I can't solve. Also, community support is non-existing as there are only mialing lists about development of GeoMajas, no forum to help solve this problem. Any advice on what framework to choose?

I would suggest looking at one of the following
Openlayers http://openlayers.org/
Leaflet http://leafletjs.com/
Geo Ext http://opengeo.org/technology/geoext/
These are all java script libraries so if you really need to you can inlcude them in a Java or .net based website.
If your looking for a more complete framework I would look at the OpenGeo suite. If you download it and look at the Geoexplorer app makes a good starting point and it uses the OpenGeo GSP Libries which are basically a warpper around GeoExt and Openlayers.

Related

Binding script terms using Java scripting API

I am new to JSR 223 (java scripting API), currently I am working on a project to reduce the complexity of writing customization script for application so we are creating an in house scripting to generate the customization script.
However it is my first approach at working with the scripting API and the closest I have to a background knowledge of API is a tutorial from javaworld.com.
What I had like is for someone to point me to a detailed tutorial of implementing this API and including definition of script keywords and implementing them or perhaps point me to another approach at solving the above stated challenge.
I will appreciate any form of assistance. Thank you.
After much research I realized that I was not really asking my question right, what I want to develop is a DSL using java and the tool I require is ANTL.
Thanks everyone.

projects using Java and MarkLogic

I am new to MarkLogic Server and hence to have some hands on experience on MarkLogic I wished to get some help from the projects already developed using Java and MarkLogic.
On doing google search, I was unable to find suitable examples and hence I am looking forward to all of you.
Please help me.
Have a look at the developer site for resources. This page includes links to a number of java-based projects:
http://developer.marklogic.com/code
You can connect to MarkLogic over HTTP or using XCC, a library that is similar to JDBC. Here's the guide for XCC:
http://developer.marklogic.com/pubs/5.0/books/xcc.pdf
and the javadocs are here:
http://developer.marklogic.com/pubs/5.0/javadoc/index.html
Finally, there's a great archive of discussion from the developer list on MarkMail:
http://marklogic.markmail.org
Kelly
Kelly's answer is good. Drilling into the dev site a little, try some of the interactive tutorials at http://developer.marklogic.com/try/ninja/index
If you are interested in developing a REST-ful interface, try Corona at http://developer.marklogic.com/try/corona/index
For more sample applications, http://developer.marklogic.com/code has a good list: http://developer.marklogic.com/code/boing-boing might be a good one to start with, and its code is on github.

Advice for mapping an undocumented Java Eclipse Project

I have started at a new firm and as part of my duties am making small changes on a Java Project that was developed previously. The problem is that it is mostly undocumented and very complex. By undocumented I mean no comments, no Java doc, no documentation guide, nothing. It's a website Java project developed in Eclipse and built using Ant. My question is what tools are available to help me map out the project to better understand it. Or is there any advice on the best set of steps to follow.
Thank you for your time.
Look into reverse engineering tools that can create UML diagrams for java, like omondo. If the ant build script is complex aswell - I once visualized some complex ant build script using yEd, that helped a lot.
I personally found that UML-based tools do not scale well in such cases, except for some very specific cases, where sequence diagrams might help a lot.
Instead, I would refer to the following book (available online) for a general approach to the problem:
http://scg.unibe.ch/download/oorp/
And try out some research tools for code visualization to get an overview, for example:
http://www.inf.usi.ch/faculty/lanza/codecrawler.html
(would love to post more links, but can't due to stackoverflow's spam prevention mechanism)

Best IDE for developing java web services (for beginners)

I am trying to learn how to work with java webservices, but i had some issues working with eclipse bundeled with some incubated modules, which give me some errors while trying to program something.
Can you suggest me an IDE for developing java webservices, which would be easy to use (or which eclipse package...), especially for beginners.
It would be grate if you could maybe also point me some tutorials of how to create a simple java webservice step by step. The ones that if ound where kind of "old" 4-6 years ago.
I just went through the same process, and didn't have many problems using eclipse. Once you get past the initial learning curve of setting things up, it's really not that bad :)
Here's some of the sources I used to learn how to build JAX-WS services:
http://download-llnw.oracle.com/javaee/6/tutorial/doc/?wp405739&JAXWS.html#wp72279
JAX-WS/Java EE tutorial from Oracle, updated June 2010
https://metro.dev.java.net/getting-started/basic.html#Building_Server
This gives some useful code snippets whether you are starting from Java or from a WSDL file.
http://www.ibm.com/developerworks/java/library/j-jstl0211.html
Information on JSP tags and the JSTL standard libraries. (these are super useful when writing the JSP pages your user will end up seeing)
http://www.stardeveloper.com/articles/display.html?article=2001081601&page=1
Information on JSP scripting tags and custom tags in general.
http://java.sun.com/developer/technicalArticles/javaserverpages/code_convention/
JSP code conventions/best practices
Try Java EE 6 examples with Glassfish. They are relatively fresh and Glassfish has an excellent support for almost all parts of the spec
http://download.oracle.com/javaee/6/tutorial/doc/bnayk.html
With eclipse and axis look at this:
http://ws.apache.org/axis2/tools/1_2/eclipse/wsdl2java-plugin.html
I'm using NetBeans, and haven't had any problems with it so far!
You can download it here: https://netbeans.apache.org/download/index.html

Where can I find a good example of Open-Flash-Charts and Java

There are a handful of open-flash-charts tutorials on the web, mostly php from what I can see. I know there is a Java helper class, but I haven't found documentation or examples.
The helper library is also includes in the ofcharts grails plugin.
Java/Groovy or Grails suggestions welcome.
thanks!
One of the single best sources I have found on it is here
From the site: "This site is now mainly used to post examples, help and patches for users requesting help in the OFC2 forum which I occassionally haunt."
Has proven invaluable in my developing Java/Grails charts with it. Bear in mind that you need to do little else to make the charts work than to generate JSON. To that end Grails is ideal - however what you will spend a lot of time working on is structuring that JSON data.
The linked site provides the most detailed JSON API documentation that exists for the different chart types OFC supports.
There is also a Java API reference open source project hosted on Google Code:
http://code.google.com/p/jofc2/
This is the code embedded in the Grails plugin I've been using so the documentation has helped a ton!

Categories