-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David,
On 6/6/12 11:09 AM, David kerber wrote: > On 6/6/2012 10:54 AM, Ravi wrote: >> >> Mark / Chris, >> >> Essentially, if I want to use websockets, you are asking me to >> rewrite my app + rewrite grails + rewrite hibernate + rewrite >> apache http utilities + rewrite several other web libraries I >> use. >> >> I do not think this is a reasonable option. > > Or rewrite your app to not libraries that won't work with your > desired communications method. > > Or rewrite your app to use a communications method that will work > with those libraries. +1 I'm not sure why anyone would have to rewrite hibernate in order to use it with WebSocket: AFAIK, there is no dependency from hibernate -> servlet API. Grails is a "web framework" which probably fairly tightly-couples itself to the servlet API. Certain other frameworks (off the top of my head, Spring and Apache Struts 2) do not depend upon the servlet API unless you want them to. You can certainly write your own glue that will shuttle servlet-API-provided data (i.e. from the request or session) to your business logic (which should never rely on the servlet API) and then write similar glue that uses the WebSocket APIs. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/Pnb4ACgkQ9CaO5/Lv0PAxiACfSo/64zE1xaF4OvfjCVSAn6Sr LDgAnROqBOorHOnf+ilPFVA38HrSWqzZ =aPEU -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org