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

 

JBoss AS 7 and JBoss EAP 6.1.1 Data Sources

Enterprise REST

http://martinfowler.com/articles/enterpriseREST.html

VisualJVM MissionControl Jconsole

http://visualvm.java.net/
http://visualvm.java.net/eclipse-launcher.html
https://visualvm.java.net/gettingstarted.html

JPA Tx
http://apmblog.compuware.com/2010/09/14/week-38-transactions-in-a-jpa-world/
http://www.adam-bien.com/roller/abien/entry/don_t_use_jpa_s
http://java.dzone.com/articles/jpa-performance-optimization
http://java.dzone.com/sites/all/files/Table1.png
http://apmblog.compuware.com/2009/11/12/w-jax-jpa-under-the-hood/
http://en.wikibooks.org/wiki/Java_Persistence/Advanced_Topics
http://docs.jboss.org/hibernate/core/4.3/manual/en-US/html_single/#configuration-j2ee
org.hibernate.transaction.JBossTransactionManagerLookupJBossAS
http://www.developerfusion.com/article/84945/flush-and-clear-or-mapping-antipatterns/
http://java.dzone.com/articles/jpa-performance-optimization

Hibernate Monitoring

—you can monitor a sessionfactory via JMX
—or call getStatistics
http://docs.jboss.org/hibernate/core/4.3/manual/en-US/html_single/#performance-monitoring

TestingDBviaJMeter

http://jmeter.apache.org/usermanual/build-db-test-plan.html

Java Load Testing Framework

http://grinder.sourceforge.net/
http://gatling-tool.org/

Debugging c3p0 pool

VisualizeEE

Document Your APIs

http://www.infoq.com/research/api-documentation?utm_source=infoqEmail&utm_medium=WeeklyNL_ResearchContent&utm_campaign=110513news
https://developers.helloreverb.com/swagger/
http://jashkenas.github.io/docco/

JBoss/JEETips

http://mastertheboss.com/jboss-as-7/a-thread-pattern-for-jboss-enterprise-applications
http://mastertheboss.com/resteasy/restful-web-services-on-jboss-as-7
http://mastertheboss.com/cdi/cdi-and-jpa-tutorial
http://mastertheboss.com/quickstart-tutorials-hibernate/jpa/jpa-21-tutorial
http://mastertheboss.com/jboss-performance/jboss-as-7-performance-tuning/page-2
http://mastertheboss.com/jboss-performance/jboss-as-7-performance-tuning

Java Leader
http://blog.arungupta.me/
p6SpyforJDBCInterception
http://sourceforge.net/projects/p6spy/
http://www.mastertheboss.com/jboss-datasource/how-to-trace-jdbc-statements-with-jboss-as
JDBC/JBoss/Hibernate/JPAPerformance
http://mastertheboss.com/jboss-performance/jboss-performance-tuning-part-2

UsePreparedStatementCache
RemovelogsfromConsole
TurnoffextraJBossservices

http://mastertheboss.com/jboss-performance/jboss-performance-tuning-part-1
http://mastertheboss.com/jboss-performance/jboss-performance-tuning-part-1/page-3
http://people.redhat.com/alikins/system_tuning.html
https://community.jboss.org/wiki/JBossASTuningSliming

Connection Pools

jboss-as-7-performance-tuning/page-4
jboss-as-7-performance-tuning/page-6

tune the cache

oracle-datasource-in-jboss-as-7.html
http://wiki.hq.bn-corp.com/display/TECH/2013/11/05/JPA+and+Other+Resources
http://javalabor.blogspot.com/2011/08/oracle-datasource-in-jboss-as-7.html
http://javalabor.blogspot.com/2012/01/java-verbosity-jee-and-lombok.html
http://stackoverflow.com/questions/12011174/persistence-xml-for-jboss-as-7-1-1
http://www.jboss.org/jdf/quickstarts/jboss-as-quickstart/hibernate4/
http://middlewaremagic.com/jboss/?p=1185
http://docs.oracle.com/cd/E35319_01/Platform.10-2/ATGInstallGuide/html/s0406configuringdatasourcesforjboss01.html
https://community.jboss.org/thread/228733?tstart=0
http://www.guj.com.br/java/256103-resolvido-seam-3–hibernate-4–jbossas7-erro-de-datasource
http://webcache.googleusercontent.com/search?q=cache:4OVwaejggxoJ:fascynacja.wordpress.com/2013/08/27/jboss-7-x-retrieve-datasource-properties-username-database-name-password-at-runtime-using-jmx/+&cd=1&hl=en&ct=clnk&gl=us
http://knowledgespreading.blogspot.com/2013/04/db2-and-orcale-database-configuration.html
https://community.jboss.org/wiki/DataSourceConfigurationInAS7
http://webcache.googleusercontent.com/search?q=cache:ioG7rPCfbD0J:qnatech.wordpress.com/2013/06/10/how-to-configure-jboss-datasource-oracleracre-connect/+&cd=1&hl=en&ct=clnk&gl=us
http://omarfaruq.blogspot.com/2012/05/connection-pool-tuning-in-jboss-to-get.html
true?
https://docs.jboss.org/author/display/AS7/Admin+Guide#AdminGuide-Datasources
http://www.drdobbs.com/jvm/jdbc-fast-connection-failover-with-oracl/222700353
http://stackoverflow.com/questions/17180166/oracle-database-performance-issue-on-jboss-as-7
https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/pdf/6.1.1_Release_Notes/JBoss_Enterprise_Application_Platform-6.1-6.1.1_Release_Notes-en-US.pdf
https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/pdf/Administration_and_Configuration_Guide/JBoss_Enterprise_Application_Platform-6.1-Administration_and_Configuration_Guide-en-US.pdf
https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/pdf/Development_Guide/JBoss_Enterprise_Application_Platform-6.1-Development_Guide-en-US.pdf
https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/pdf/Installation_Guide/JBoss_Enterprise_Application_Platform-6.1-Installation_Guide-en-US.pdf
http://www.ignitefree.com/
http://middlewaremagic.com/jboss/?p=1076

Passwords can be encrypted for databases