CRUD in the REST world

For Create,Read,Update and Delete operations using JEE6-RESTful API - Use the respective annotations for each of these actions,

Create - @GET to access a resource.It processes http get requests.
Read - @POST to create.It processes http put requests.
Update -@PUT for update operation.
Delete -@DELETE for a delete operation

Use @PATH annotation to first reach a resource URI before using the annotations subsequently.


Big Data - Hadoop

Manage BigData with Hadoop set of technologies - HDFS and Mapreduce.
Use Hadoop Distributed file System to index data and Mapreduce algorithm to access data.
HDFS - consists of a main branch called the name branch that contains the file locations in the server rack's file systems.So if a user enters a search term - it is first queried on the name branch where it fetches the file locations on the distributed file system.Each rack of file system returns a key-value pair of "search term-occurrences".
These are then combined together to have the total search results with all occurrences from all locations in the form of key-value pairs.

ERMaster for constructive database issue resolution

ERMaster is an open source project providing a UI representation for databases.

Whats important is that if you have missing database documentation - such as missing ER Diagrams or Database Dictionary - ERMaster can generate it for you.It has a much needed eclipse plugin for database UI visual representation.

It can generate

  1. ER Diagram - you can export this as image
  2. Database documentation -- HTML - Java API style
  3. DDL sql file
  4. Data dictionary

The eclipse plugin is very simple and easy to use.
More details can be found at the source forge home page for ERMaster

3 rapid java web development frameworks

Maven-archetype - Integrate maven plugin into eclipse and use a maven archtype for webapp to create a default web application.Edit the pom.xml to include a web server like jetty to run the web application.This approach requires a good understanding of the maven architecture.

OpenXava Create a java web app within a few minutes.Open source.This is one of the most promising rapid app framework that requires minimum coding and configuration.

Web4j Open source,small in size,contrarian style framework.Easy to learn and quick to use.

Wavemaker Wizard oriented.open source,create a java/dojo web site within a few clicks.

SLF4J

Simple Logging Facade for Java uses simple Facade pattern or abstraction layer on top of various logging api's available in the open source world.
Developers have to include 2 jar files in their project 
  • slf4j-api.jar
  • slf4j-LOGGINGAPI.jar
where LOGGINGAPI can be any api from log4j,logback,simple logging,commons logging or java.util.logging

Developers have the flexibility of changing their logging api based on specific requirements.

More details can be found at http://www.slf4j.org/manual.html

SLFJ also allows consolidated logging for project where many different logging api's are used.