• 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

New Web Application using HTML5

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

I have a question, how to use HTML5 to create new web application?. I have created JSP/JSF and also simple Servlet/JSP based web applications.

Can anyone please guide me if i want to create web application with HTML5 and Java as my back-end (service layer), then how should i proceed?

What i am guessing is HTML5 has some more extra HTML tags, but can it direct interact with Java class (like in JSF -- front-end JSP interact with Controller class)?

If anyone has worked on this, then please guide me.

Thanks in advance for your valueable time and help.

Regards,
Ronak.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HTML works on the client side, whereas Java is used on the server, so there is no direct interaction between them.

The SpecificationUrls link in my signature will lead you to the various specification working drafts that may end up as part of HTML 5. Note that different browsers support different parts of those, so be prepared for a lot of cross-browser testing.
 
R Patel
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dittmer,

Thanks for your reply.

I got the scenario as per your reply. Is there any framework support HTML5. I mean when we talk in terms of web-application created using JSP/JSF or with Normal Servlet/JSP, finally at client side it gets converted in HTML.

So is it possible same way web-application created with JSF/JSP generate(or converted) finally in HTML 5 ? Is there any other framework like JSF (or JSF itself) provide any such feature which can support new HTML5 tags ?

As per my knowledge only HTML can not interact with back-end Java class. It has to implemented with JSP/Servlet or AJAX technology (Not sure for HTML 5).

hope I have described properly.

Thanks again.

-Ronak
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you misunderstand how HTML works. It's just text that gets generated at the server side, and then sent to the client for interpretation. You can use JSP (and JSF, or any other framework) to create any HTML you want, but that has nothing to do with what actual version of HTML is targeted - it's all just text to the server.
 
R Patel
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got it. I am new for HTML 5, so i was expecting too much from it. I was thinking it will have kind of plugin/scripting so it can interact with back-end classes.

Now i am clear, its same as HTML but having some more extra tags. And we can develope it with JSP/JSF or any other technology, which finally generate HTML 5 text. which browser display as UI.

So I can use same way JSP/JSF and can generate the UI in HTML 5, I may need to find some more on JSF tag library and all, which supports HTML 5 tags.

One more help, if you have any idea about any documentation for generating HTML 5 using JSP/JSF technology then can you please suggest me? or any other documentation which can guide me.

Thanks again for your valueable feedback.

-Ronak
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

if you have any idea about any documentation for generating HTML 5 using JSP/JSF technology then can you please suggest me? or any other documentation which can guide me.


Again, as far as the server is concerned, it's just text that gets generated - any existing web framework or templating library can already do that. As to what's possible on the client, see the specifications I pointed you to; a web search will find lots of introductory articles on those as well.
reply
    Bookmark Topic Watch Topic
  • New Topic