This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Struts and the fly likes Html5 integration into Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Html5 integration into Struts" Watch "Html5 integration into Struts" New topic
Author

Html5 integration into Struts

Luis Oliveira
Greenhorn

Joined: Jun 04, 2012
Posts: 6
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

Joined: Oct 29, 2001
Posts: 8915
    
    8

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Luis Oliveira
Greenhorn

Joined: Jun 04, 2012
Posts: 6
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

Joined: Oct 29, 2001
Posts: 8915
    
    8

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

Joined: Jan 09, 2012
Posts: 44
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Html5 integration into Struts