====== JEE7 Embedded Tomcat ====== Servlet 3.1 Weld , JSF 2.0, Jersey 2.x * JEE7 web profile: * http://www.eclipse.org/jetty/documentation/current/jetty-javaee.html * http://tomcat.apache.org/whichversion.html * http://blog.triona.de/development/java/how-to-get-jsf-2-2-mojarra-cdi-weld-and-flowscoped-running-in-a-servlet-container-jettytomcat.html * http://www.theserverside.com/feature/Dependency-Injection-in-Java-EE-6-Part-5 * http://www.lifeasageek.com/2012/06/java-ee-6-web-profile-without-app.html/ ====== Project Structure ====== ===== Starting Embedded Tomcat 8 ===== * http://stackoverflow.com/questions/11669507/embedded-tomcat-7-servlet-3-0-annotations-not-working * https://devcenter.heroku.com/articles/create-a-java-web-application-using-embedded-tomcat#prerequisites ===== Weld ===== ===== JSF ===== * http://blog.triona.de/development/java/how-to-get-jsf-2-2-mojarra-cdi-weld-and-flowscoped-running-in-a-servlet-container-jettytomcat.html * https://musingsinjava.wordpress.com/2014/11/02/enabling-jsf-2-2-and-cdi-1-2-on-tomcat-8/ ===== Jersey ===== * http://blog.sortedset.com/embedded-tomcat-jersey/ * http://blog.dejavu.sk/2013/11/19/registering-resources-and-providers-in-jersey-2/ ====== Webapp Bean and Jiac Agent Bean ====== * Tomcat arche: https://tomcat.apache.org/tomcat-8.0-doc/architecture/startup.html * Spring * https://kevinpotgieter.wordpress.com/tag/spring-bean-manipulation/ * String ActiveMQ: * http://icodingclub.blogspot.de/2011/07/introduction-of-spring-jms-with.html * http://icodingclub.blogspot.de/2011/09/spring-jms-with-embeded-activemq-in.html * Generic EJB: * https://blogs.oracle.com/roumen/entry/accessing_ejb_3_session_beans * CDI: http://www.ibm.com/developerworks/websphere/techjournal/1301_stephen/1301_stephen.html * http://www.theserverside.com/news/1373391/Dependency-Injection-in-Java-EE-6-Part-1 * Class loader & jvm: * http://www.javaworld.com/article/2077344/core-java/find-a-way-out-of-the-classloader-maze.html * Inter EJB communication: * http://piotrnowicki.com/2012/11/communication-between-ejb-modules-in-the-same-application-server/ * Framework Research: * http://stackoverflow.com/questions/19427101/spring-mvc-cant-reach-application-on-tomcat?rq=1 * http://www.artificialworlds.net/blog/2015/02/05/programmatic-equivalents-of-web-xml-sections-for-tomcat/ * http://developerlife.com/tutorials/?p=1437 * http://tutorials.jenkov.com/dependency-injection/dependency-injection-replacing-factory-patterns.html ====== Websocket API 1.1 ====== * https://tomcat.apache.org/tomcat-8.0-doc/websocketapi/index.html ===== Server ===== * Programmatically register websocket endpoint: https://blogs.oracle.com/arungupta/entry/websocket_client_and_server_endpoint * WebSocket runtime scans the WAR file with all implementations of ServerApplicationConfig and registers the endpoint returned from getEndpointConfigs and getAnnotatedEndpointClasses. The URI of the server endpoint is published using ServerEndpointConfig.Builder. * This is it!!: http://www.programmingforliving.com/2013/08/websocket-tomcat-8-ServerEndpointConfig-Configurator.html