Posts

Showing posts with the label spring-mvc

Grails Part 3 - Building a CRUD Application

Click here to view the full tutorial Continuing series: Developing a Grails Web Application. This application will use the Grails Framework to develop a web application using: 1. MongoDB 2. Spring Security 3. Apache CXF 4. Jetty Web Server 5.  Maven build integration  => Removed upon Request Previous Post: Grails Part 2 - Configuring the Plugins View Project on Github: Grails MongoDB Demo These Instructions Will Walk Through: Building a CRUD Application Building the Domain Model Controllers using Grails Scaffolding

Atmosphere Websockets & Comet with Spring MVC

Image
Since writing this guide, Spring has come out with their own Comet and Websocket implementations. I suggest you first read through their guides before deciding on atmosphere as your Comet & Websocket solution. 1.  Messaging with Stomp over Websockets 2.  Spring Messaging On to the guide... Feel free to clone the source of this project on github. springMVC-atmosphere-comet-websockets The Websocket protocol is defined by W3C  here . The protocol is considered an HTTP upgrade protocol. Essentially what happens is, a websocket request is made by a client browser, via the HTTP protocol. Once, the request is in, the server should respond with a success. Then the browser and server establish a TCP link to handle communication from there on out. This protocol enables bi-directional communication between a client and server. Here is a link to browser and servers that support Websockets and/or Comet:  comet/websocket support link