• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Html5 integration into Struts

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all

I'm currently starting a project, in my university, which involves studying HTML5 and J2EE integration.

I'm also a Struts user. What is the state of HTML5 integration into Struts?

Is there something implemented or any plans to implement it? Will we see features like Web Sockets, Web Messaging, Web Workers, etc as part of Struts in a near future?

Are there any good sites, articles or other reading material about this subject

Many thanks,
Best Regards
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Struts is an implementation of the Front Controller pattern. I'd be hard pressed to identify how the technologies you cite would fit into that pattern. Perhaps the AJAX libraries Struts includes as plugins (Dojo, Jquery) is the correct place to look for those features.
There are a slew of new input fields I can see Struts providing support for, like email, output, sliders with a range and so on.
 
Luis Oliveira
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Joe.

I agree with you that most features don't fit into Struts job description. But other features, like Web Sockets for example, that are a litle more complicated and mostly deal with communication maybe we will see them directly integrated with Struts, no?

Thanks again
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't speak for the Struts community, but I don't see Struts incorporating Web Sockets. Again, Struts is a Front Controller built on Servlet technologies for servicing HTTP requests. Anything that breaks that model, like Web Sockets, is unlikely to be incorporated. Again, I can see plug-ins that do make use of other communication technologies being incorporated, the same way Struts 2 currently includes numerous AJAX libraries.
By the way, it looks like Web Sockets were removed from HTML5 (scroll down to item 25).
 
Ranch Hand
Posts: 44
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Luis Oliveira wrote:Hi all

I'm currently starting a project, in my university, which involves studying HTML5 and J2EE integration.

I'm also a Struts user. What is the state of HTML5 integration into Struts?

Is there something implemented or any plans to implement it? Will we see features like Web Sockets, Web Messaging, Web Workers, etc as part of Struts in a near future?

Are there any good sites, articles or other reading material about this subject

Many thanks,
Best Regards



Hi,

html5 reflects purely how an html document is rendered in order to get some behavior from a browser. You can render all the html5 tags using struts any version, as struts is a server technology that will help you render whatever you want. So no matter of the server technology (be it static html, Struts, jsf, php, whatever), you render html5 tags and everything will be fine should your browser support them.

D
 
reply
    Bookmark Topic Watch Topic
  • New Topic