The upcoming JSP technology Hans is referring to is called JavaServer Faces
(not JavaFaces). What little information is available can be found at:
http://jcp.org/jsr/detail/127.jsp.
Also, I noticed in a press release about Web Services Pack
(http://java.sun.com/pr/2001/06/pr010604-03.html), it states the following:
"Web Services Pack is a collection of application programming interfaces
(APIs) and architectures developed by Sun and the other members of the Java
Community that provide support in the Java technology for important web
services features. Current plans call for the Web Services Pack to include:
JavaServerTM Faces, which is under development in the Java Community
ProcessSM Program, establishes a standard API for creating Java Web
application graphical user interfaces (GUIs), eliminating the burden on
developers to create and maintain the GUI infrastructure from scratch."
Notice the reference to JSF. It seems to me that this is a critical piece
for Sun to be able to effectively compete against the Microsoft Web Form
Controls. But, according to Amy Fowler from Sun, the expert group is
currently working on the community draft of the JSF specification, and will
hopefully be completed towards the end of the year.
Interestingly, Qbizm Technologies (http://www.qbizm.com/) has a product,
HyperQbs, which is supposed to be based on this yet non-public
specification. So, if you want to get an idea of what will be possible,
check them out.
Steve
> -----Original Message-----
> From: Hans Bergsten [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 21, 2001 12:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: how to access servlet from the jsp page
>
>
> "David Gee (MAYA Design)" wrote:
> >
> > yeah, it can be done with ASP because COM objects are put
> into the HTML
> > document using the <object> tag, which is part of the DOM and can be
> > manipulated as such. JavaBeans never end up as objects in
> the rendered HTML
> > page, the <jsp:usebean> tag is processed on the server and
> ripped out of the
> > rendered file. View source shows this to be true. As such,
> the bean id is
> > only accessable to JSP scripts, whereas the COM object id
> is accessable to
> > JScript/VBScript.
> > [...]
>
> I'm no expert on ASP, but I'm pretty sure that you are
> confusing ASP with
> Internet Explorer features here. ASP is a server-side
> technology, just as
> JSP. Hence, a COM object created by an ASP page can not be directly
> manipulated with VBScript/JScript in the browser.
>
> As far as I can tell, the example you show is how Internet
> Explorer can
> create a COM object (using the <object> tag) that can then be accessed
> through VBScript/JScript code. All of this happens in the browser and
> has really nothing to do with ASP. The Java alternative to this is to
> use the <applet> tag to create an applet instance in the
> browser that can
> then be manipulated by scripting code in the browser. The applet can
> make a call to the server, using HTTP, RMI or a plain socket.
>
> I may be wrong, of course. I have looked briefly at ASP.Net WebForms,
> which is a framework that helps you link events triggered by elements
> in the browser to event handling code running on the server.
> That seems
> closer to what you're after, but to me it looks like it
> requires a fair
> amount of "magic" behind the scenes to get this to work and I have a
> feeling it only works with the combination of IE and IIS.
> There's a new
> Java spec being developed right now, named JavaFaces. I know next to
> nothing about it, but from the generic descriptions I've seem it seems
> like it may be similar to WebForms but based on JSP custom actions and
> likely a servlet based framework for the backend.
>
> Hans
> --
> Hans Bergsten [EMAIL PROTECTED]
> Gefion Software http://www.gefionsoftware.com
> Author of JavaServer Pages (O'Reilly), http://TheJSPBook.com
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets