Migrating to Spring 4

Spring 4 is now stable enough to forget about Spring 3.2 and move on.  With support for all the current and newest SE and EE Java technologies,

it is now time to embrace this upgrade.

For personal projects I have started and the excellent Spring Boot as a help.  For commercial work, we are replacing are maven dependencies now.

References

 

picture-297029

Java REST Options

REST with or without a Web Container

http://programmers.stackexchange.com/questions/155467/selecting-a-jax-rs-implementation-for-a-new-project

CXF2 or RESTLet or RESTEasy or JAX-RS (Jersey) or DropWizard or Spring Boot or …  There have been an number of options for a while.   Spring Boot and Drop Wizards

are very cool because of the simple deploy and lack of need for a cumbersome EAR or WAR deploy to a JEE server.  DropWizard also

has a ton of features and built-in metrics.  Resthub is very cool too, but not well supported.  JAX-RS works nice if you use Glassfish +

NetBeans 7.4 + JEE 7.  Since that lets you create REST client and server and the client can be HTML5 and is mostly generated for you.  It

will also build REST services for you from existing entities or relational tables.  I wish it had a wizard to do that easily from NoSQL

entities.   NodeJS has a nice REST client.   Also you can try your hand at developing REST in NodeJS or Cujo REST.   A REST client from JavaScript is easy, here is

a nice article on RestJS with Spring.

http://www.slideshare.net/mraible/comparing-jvm-web-frameworks-devoxx-france-2013

Dropwizard

https://github.com/jacek99/dropwizard-spring-di-security-onejar-example

http://www.slideshare.net/JacekFurmankiewicz/dropwizard-spring

http://www.slideshare.net/sullis/production-ready-web-services-with-dropwizard

https://www.openshift.com/blogs/day-13-dropwizard-the-awesome-java-rest-server-stack

https://github.com/shekhargulati/day13-dropwizard-mongodb-demo-app

http://dropwizard.codahale.com/manual/auth/

http://kielczewski.eu/2013/04/developing-restful-web-services-using-dropwizard/

http://www.slideshare.net/savu.andrei/simple-rest-with-dropwizard

http://gary-rowe.com/agilestack/2012/06/06/multibit-merchant-deployment-driven-design/

Spring Boot

http://projects.spring.io/spring-boot/

RESTHub

http://resthub.org/

mvn archetype:generate -DarchetypeGroupId=org.resthub -DarchetypeArtifactId=resthub-jpa-backbonejs-archetype -DarchetypeVersion=2.1.4

mvn jetty:run

https://github.com/englishtown/vertx-mod-jersey/ http://www.jamesward.com/2012/08/13/containerless-spring-mvc

 

Other Links

JQuery.REST

 

Java and Oracle Links

Advanced Java Programming Techniques with Oracle Database 11g

adv-java-prog-techqs-with-odb-400715-en-in.pdf

http://www.oracle.com/technetwork/database/enterprise-edition/appdev-java-developers-perspective–132536.pdf

http://www.oracle.com/technetwork/database/enterprise-edition/mensah-ch1-129492.pdf

Oracle® Universal Connection Pool for JDBC

http://docs.oracle.com/cd/E11882_01/java.112/e12265.pdf

Oracle® Database JDBC Developer’s Guide 11g Release 2 (11.2)

http://docs.oracle.com/cd/E11882_01/java.112/e16548.pdf

Java Stored Procedures

http://www.oracle.com/technetwork/database/enterprise-edition/ow-30820-java-stored-proc-paper.pdf

Oracle Data Source

http://stackoverflow.com/questions/1427890/oracledatasource-vs-oracle-ucp-pooldatasource

http://stackoverflow.com/questions/2423490/how-good-is-oracle-universal-connection-pool-ucp/4444922#4444922

JMX For Spring

http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/jmx.html

for monitoring through visual jvm and many other tools

Hibernate and Log4j via JMX

http://architects.dzone.com/articles/watch-your-spring-webapp

http://www.javacodegeeks.com/2012/01/enabling-jmx-in-hibernate-ehcache-qurtz.html

Creating an Asynchronous, Event-Driven Application with Reactor

sprint boot cli
http://dsyer.com/presos/decks/spring-boot-intro.html#slide6
http://spring.io/guides/gs/spring-boot/
spring –help

What’s New for Java Performance, Scalability, and Security with Oracle Database 12c [CON8597]
https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=8597

A JDBC Datasource for Failing Over and Replaying In-Flight Transactions [CON9234]
https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=9234

Java SE and Oracle Java Embedded: What’s New and What’s Coming [CON8936]
https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=8936&tclass=popup

Experiences with Evangelizing Java Within the Database [UGF8861]
https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=8861&tclass=popup

Hitchhiker’s Guide to XQuery with Oracle Database 11g Release 2 and Oracle SQL Developer 3.2.2 [CON7615]
https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=7615&tclass=popup

RESTful Web Services [CON8852]
https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=8852&tclass=popup

Implementing Oracle Commerce: Best Practices for Experience and Commerce [CON9198] Oracle ATG and Oracle Endeca
https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=9198

JVM Diagnostics: Java Profiling in Production Environments [CON9571]
https://oracleus.activeevents.com/2013/connect/sessionDetail.ww?SESSION_ID=9571

JPA Tracing

https://docs.jboss.org/author/display/AS71/JPA+Reference+Guide

Testing

JPA / Data Tools

Spring MVC + Modern HTML5

Tobacco tries it’s best to always include the latest release versions of most popular client libraries.

Latest Tobacco 1.0.12 charges you with Spring 3.2.2, Twitter Bootstrap 2.3.1, jQuery 1.9.1 and Backbone.js 1.0.0

Tobacco Maven Architype for building a project

 

 

https://github.com/priyatam/springmvc-twitterbootstrap-showcase

http://bthurley.wordpress.com/2012/07/25/initialising-datatables-with-twitter-bootstrap-and-spring-mvc-ajax/

http://duckranger.com/2012/07/spring-mvc-and-twitter-bootstrap-customizing-the-input-fields/

http://bthurley.wordpress.com/2012/07/18/spring-mvc-with-restful-datatables/

http://duckranger.com/2012/12/capturing-property-changes-with-spring-jpa-and-hibernate/

https://github.com/eugenp/REST#readme

 

HP Anywhere (Java + JavaScript)

HP Anywhere

Review by Timothy Spann

Basic Usage

1.1           IDE

Eclipse

eclipse

 

1.2           NOTE

  • Fix required:  HP Anywhere added to maven.bat

SET MAVEN_OPTS=-Djava.net.preferIPv4Stack=true

  • Only runs on Windows.  Windows Only Server
  • Only for developing single page applications (SPA) with Java back-end and JS/HTML5/CSS front-end.

 

1.3           Technology List

  • Eclipse juno
  • jdk 1.7
  • maven
  • tomcat
  • H2
  • jersey
  • enyo js
  • slf4j
  • apache commons
  • xerces
  • json
  • sencha
  • jax-ws
  • ant
  • curl
  • spring 3.0.5
  • jersey
  • junit 4.8
  • JEE
  • JAXB
  • DOM4J
  • Lucene
  • JSTL
  • PhoneGap
  • POI
  • Velocity
  • STAX
  • Xalan
  • Joda Time
  • Hibernate
  • GraniteDS
  • Jackson
  • JTDS
  • JQuery
  • JDOM
  • Sencha Touch
  • Cassandra
  • MS SQL Server

1.4           Links

HP Anywhere: Mobile Apps for the Enterprise

 

1.5           HP Anywhere Architecture for Developers

(see: http://developer.hpanywhere.com/wp-content/uploads/2013/03/HP_Anywhere_Architecture_for_Developers.pdf)

 

 

 

container

overview

 

Spring Tutorials – Links

http://tshikatshikaaa.blogspot.com/2012/09/spring-mvc-customized-user-login-logout.html

http://tshikatshikaaa.blogspot.com/2012/09/spring-mvc-service-dao-persistence.html

http://tshikatshikaaa.blogspot.com/2012/08/jpa-tutorial-with-examples-using-hibernate-standalone.html

http://tshikatshikaaa.blogspot.com/2012/10/spring-mvc-form-validation-with-annotations.html

http://tshikatshikaaa.blogspot.com/2012/09/junit-testing-spring-service-and-dao.html

http://tshikatshikaaa.blogspot.com/2012/09/spring-mvc-controller-junit-testing.html

http://tshikatshikaaa.blogspot.nl/2012/09/spring-web-jpa-hibernate-in-memory.html

http://tshikatshikaaa.blogspot.com/2012/11/serving-static-resources-with-spring-mvc.html

http://tshikatshikaaa.blogspot.nl/2012/09/junit-testing-spring-service-and-dao.html

http://tshikatshikaaa.blogspot.com/2013/01/anatomy-of-default-openshift-spring-web.html

http://tshikatshikaaa.blogspot.nl/2013/01/spring-selenium-tests-with-annotations.html

http://tshikatshikaaa.blogspot.com/2012/11/spring-mvc-rest-calls-with-http-only.html

http://www.infoq.com/presentations/Introduction-WebSocket

http://tshikatshikaaa.blogspot.com/2012/11/spring-mvc-rest-calls-from-java.html

http://tshikatshikaaa.blogspot.com/2012/10/setting-logging-dependencies-in-spring.html

http://tshikatshikaaa.blogspot.com/2012/11/spring-mvc-rest-calls-with-ajax.html

http://tshikatshikaaa.blogspot.com/2012/10/returning-json-in-spring-with-annotations.html

http://tshikatshikaaa.blogspot.com/2012/11/fetching-json-with-ajax-in-spring-mvc-context.html

http://tshikatshikaaa.blogspot.com/2012/11/introduction-to-spring-jpa-data-features.html

http://tshikatshikaaa.blogspot.com/2012/11/spring-mvc-error-handling.html

http://www.dzone.com/links/r/caching_with_spring_data_redis.html

http://www.dzone.com/links/r/spring_mvc_how_to_use_sessionattributes_annotation.html

http://www.dzone.com/links/r/cloud_stack_of_your_dreams_bootstrap_and_spring_r.html

http://www.dzone.com/links/r/spring_roo_and_twitter_bootstrap_roostrap_for_spr.html

http://www.dzone.com/links/r/spring_transaction_propagation_tutorial.html

http://www.dzone.com/links/r/rest_services_with_jaxrs_and_spring_handling_lost.html