Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Html5 integration into Struts

 
Luis Oliveira
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • 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
 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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
  • 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: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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).
 
Daniel Val
Ranch Hand
Posts: 44
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic