projects using Java and MarkLogic - java

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.

Related

How to use WURFL in servlet as I m missing WURFLEngine

Thanks in advance. I am using first time this WURFL API
I am using wurfl-1.3.1.1.jar and wurfl-1.5.1.1-javadoc.jar in my demo application for detecting mobile browser capability.
But here in this jar I am not finding net.sourceforge.wurfl.core.WURFLEngine class so its failing at the compile time.
Please guide me how to proceed on this.
Note: If some one can provide me steps in detail "how to use wurfl" then it will be great for me.
Hi WURFL Creator and ScientiaMobile CTO here.
Version 1.5 of the WURFL API for Java has introduced several semplifications of the class structure.
APIs can be downloaded here:
https://www.scientiamobile.com/downloads
as far as Java is concerned, you may want to refer to the following links:
http://wurfl.sourceforge.net/njava_index.php
http://wurfl.sourceforge.net/javamigration_to_1dot5.php
If you post the specific code on the ScientiaMobile forum, that's the space that the WURFL support team monitors regularly and we should be able to assist more specifically. We also keep an eye on StackOverflow, but this is not our official support channel.
Thanks

About using google client api

I am planning to write a native java application that can get some blogs by searching with a few words. And I know we can get some results by searching on google blog search. So I want to know if I can write such an application by using google blog search. But I found that google seems just offer a javascript API for its blog search. So could anyone tell me how to use google's blog search service in java?
If it's not possible, do you guys know some other services that can do similar thing?
Thanks a lot
Google's blog platform is Blogger, and it provides an API for working with the blogs on that platform. In addition, there are a number of client libraries for this API, including Java.
Here's some resources to help you get started:
Here you can download the Java client library for the Blogger API
Here is the documentation for the Blogger API in general.
You can see information on the different types of API calls you can make here.
And here is a link to the APIs-explorer for the Blogger API, where you can play around with its capabilities
If you're new to using the Google Java Client Libraries for accessing Google APIs, you may also want to look at the documentation for the client libraries in general, here
It looks like by default, the API only supports searching for posts in a given blog, not across all blogs, so you may need to do something clever to achieve your end goal (but it wouldn't be fun if it was given all away for free, right?)

Best WebGIS framework for WMS

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.

java based CMS for NEWS site management

I am looking for a CMS which can manage NEWS site. It can also support video and audio data for news. I looked into some of the content management systems http://java-source.net/open-source/content-managment-systems but I am not able to find any suitable CMS for NEWS site.
I also need to integrate this CMS with mobile client (Android) for content display.
Kindly suggest any good CMS!
Thanks,
Raju
If you're open to look outside of Java, Wordpress can work very well.
I hear If you're looking for Java, look at this posting. Look at Liferay, which seems to be very popular, and has some news sites running on it.
I've also heard a bit of buzz about Weceem, which runs on Grails.
The referenced page included a link to magnolia and magnolia seems to have a news template. Android is almost always a challenge, because I guess that most CMS solutions heavily depend on big third-party libs (spring, hibernate, ...)

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