Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

Java web controls?

Thread view: 
Andreas Thiele - 17 Oct 2005 21:18 GMT
Hi,

I am relatively new to Java. In my current job I'm involved in writing small
server apps. While currently I use jsps a lot, I find them rather cumbersome
and would prefer writing servlets only. I think in this scenario one should
have classes representing web controls which can present other objects. Yet
I did not find anything predefined in J2EE.

Can anybody point me to such classes or give other suggestions?

Andreas
Bryce - 17 Oct 2005 21:45 GMT
>Hi,
>
[quoted text clipped - 5 lines]
>
>Can anybody point me to such classes or give other suggestions?

FWIW, I find that writing JSPs for rendering HTML much easier than
trying to do the same in a servlet.

But, if you insist on doing it that way, there are several frameworks
to help you out. One specifically I know if is this:

http://jakarta.apache.org/ecs/index.html
The Element Construction Set.

The Element Construction Set is a Java API for generating elements for
various markup languages it directly supports HTML 4.0 and XML, but
can easily be extended to create tags for any markup language. It is
designed and implemented by Stephan Nagy and Jon S. Stevens.

HTHs

--
now with more cowbell
Andreas Thiele - 17 Oct 2005 23:13 GMT
>>Hi,
>>
[quoted text clipped - 28 lines]
> --
> now with more cowbell

Thanks for the pointer. This is only roughly what I meant and I'd agree ecs
would not really make things easier than jsp.
But your message made me have a closer look to the other projects under
jakarta. Tapestry seems to be the thing  I was looking for.

Andreas
Roedy Green - 18 Oct 2005 06:28 GMT
>But your message made me have a closer look to the other projects under
>jakarta. Tapestry seems to be the thing  I was looking for.

the other place to look for interesting projects is sourceforge.

See http://mindprod.com/jgloss/sourceforge.html

My main complaint with them is very few of the projects have a decent
abstract.

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.

Jon Martin Solaas - 18 Oct 2005 11:34 GMT
>>Hi,
>>
[quoted text clipped - 14 lines]
> http://jakarta.apache.org/ecs/index.html
> The Element Construction Set.

Ecs is suitable to render html if you develop web-controls. It is not
exactly helping out much if you want to develop web-apps using
web-controls, being pretty low level. It's a little more cumbersome than
writing the html in a jsp or servlet, but gives you compile-time
error-messages (which a jsp-compiler may also be able to provide).

There are literally hundreds of web-control projects out there being
much more geared towards development of web-applications and not
web-application frameworks and web-controls.

WingZ and a couple of others use html to render Swing applications on
the web, Millstone is a very component-oriented framework (albeit not
being very active developed these days, it seems, but that goes for ecs
as well ...). Struts is the defacto standard, but the controls are
implemented as taglibs and you still program the view in a markup
language (jsp with struts tags), you get lots and lots of useful support
for handling all the tedious nuts and bolts involved in web application
programming. Sun JSF is Suns attempt to standardize the java web-gui
beyond jsp. The list is really much, much longer ...

Signature

jon martin solaas



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.