Is there a way to integrate spring roo with couchdb - couchdb

Is there a simple way to customize persistence of spring roo projects for supporting Couchdb ?

To my knowledge, there is no simple way to integrate Spring Roo with CouchDB.
The page Why Spring Roo indicates that Roo has REST support, so my guess is that CouchDB integration is not difficult, however I would not assume it is "simpler" either.
Also, the Spring data project has planned CouchDB support, but nothing released at this time.

With the 1.2 Release, Spring Roo now has support for MongoDB, if you need immediate NoSQL support you can move into MongoDB -- provided it caters your requirements expected by CouchDB.
You can find some of the comparisons below.
http://www.mongodb.org/display/DOCS/Comparing+Mongo+DB+and+Couch+DB
http://www.mongodb.org/display/DOCS/MongoDB,+CouchDB,+MySQL+Compare+Grid
Cheers!!!

Related

Spring Integration IDE

I remember seeing the palette in Spring Tool Suite (long time back) to design the Spring Integration work flow which I cannot find in Spring Tool Suite 4.x. Can someone tell me if it is available as a separate add-on or how do I enable it?
Thanks.
See the answer to this question and associated comments.
It is not currently available in STS 4.x, although, as stated by Martin Lippert there, the 3.9.x tooling can still be installed.
Bear in mind that it was limited to a single XML configuration file and many modern Spring Integration applications use Spring Boot auto-configuration and the Java DSL which cannot be rendered by the graph; Spring Integration now provides a runtime graph that can be rendered by a number of tools and works with any configuration technology.

Metasearch like library in Play Framework

When I want to offer basic searching capabilities in a web application in Rails, I install Metasearch or Ransack and am happy with it. They are simple, flexible and save me time.
Now I'm developing a Java / Play Framework 2.0 application, and I would like to let my users filter some tables. Is there a plugin / best practice to do this using EBean? If we migrate to JPA, is there some "equivalent" to Metasearch (that is not simple to use?).
Regards,
Kurt
There's no such equivalent in Play, anyway searching is easy with Ebean API. Don't see reason for using any overlay for this task.

Looking for source to understand JSF code with the database insert & read

I need your help in getting detailed examples about how I can read/insert into database using JSF code for its different components. I am a beginner in JSF and I have the basics, however, I need the best source which it has helpful, easy and detailed steps to understand the techniques for connecting to the DB and how to insert or read data from the database.
I tried to search, but I found the lessons are not helpful or not described in details. Kindly assist me.
JSF is for the web/presentation tier. You could implement the db access in the managed bean (also web tier) through plain JDBC, but I wouldn't recommend it.
You should separate the db access into the persistence tier. For that you can start off by looking at JPA for persistence and EJB for the business logic connecting the persistence tier and the web tier. There are other solutions, but I point out these two, because the tutorials are available at the JavaEE tutorials site. You'll want to focus on Part VII: Enterprise Beans and PartVIII: Persistence. The tutorial is a good place to start to learn JavaEE. There's a bunch of examples that can be run from the GlassFish server. As a bonus, all examples use JSF for the front end ;-)
Interaction with databases has no relation with JSF web component based framework. You're searching instead for an Object Relational Mapping (ORM) framework to get started with. This is one of those framework: Hibernate Tutorial.

OpenCMIS supported ECM

We are planning to develop an application that can work with any ECM systems. SO we planned to use CMIS.
As our application is in Java, I came across openCMIS. It seemed all useful.
But now I need to know, which all repositories are tested/supported with openCMIS?
OpenCmis will be really helpful for many ecm systems but it is not a one common answer for all of them.
For example, for IBM CM or Filenet there is IBM CMIS which comes bundled with Content Navigator. Please note this is also lacking some basic functionalities and i developed that just recently. (on the latest version)
I would recommend to build the java application using the most relevant CMIS apis you need and for the closest specific ECM product.If you want to build it in a way which works on all ECM platforms then the coding needs to be in different way.
like - identify which ecm system is being called by your java program
and then load the classes or functions for that specific system.
Hope the above helps :)
This page lists CMIS servers:
http://en.wikipedia.org/wiki/Content_Management_Interoperability_Services
OpenCMIS is one the mostly used CMIS libraries, and I would say it is the most-tested CMIS library you can find.
I have not seen any "official supported list", but OpenCMIS at least works for Alfresco, IBM FileNet, NemakiWare, and most CMIS servers I have tried. A notable exception seems to be IBM Connections, because of a IBM Connections bug.

How to do Activiti workflow integration with JSF application

I am new to Activiti workflow. I just wanted to implement a JSF application with activiti workflow with out maven dependency. I am using JPA for databases connectivity. How to do it?
activiti-cdi might be the keyword you are looking for. It makes the integration with (among others) JSF pretty easy, see for example this tutorial: http://www.bpm-guide.de/2011/09/17/build-your-own-activiti-task-explorer-with-cdi-and-jsf-2/
There are different tools to implement workflows in JSF.
Is simple: http://www.imixs.org/jee/examples/jsf_example.html
I recommend the most is "Spring Web Flow" - Simple example: http://www.springbyexample.org/examples/simple-spring-web-flow-webapp.html
Regards,

Resources