Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Has we reached a level where no further improvement can be done and only work will be done in building new tags?
Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Will we have some JSPs in future which may not be capable of listening Http requests at all or some other changes like that.
As a templating mechanism. As someone already mentioned, few moderately sized applications expose JSPs as the "first point of contact", i.e. receiving HTTP requests directly. Mostly it's the servlet who does that and the JSP is only delegated to for view rendering.Originally posted by Pradeep Bhat:
I dont see this happening. JSP are for generating dynamic web content,if they cannot be invoked using HTTP protocol I am not sure where else they could be used.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Mostly it's the servlet who does that and the JSP is only delegated to for view rendering.
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Originally posted by Prakash Dwivedi:
Hello Mr. Hans Bergsten,
Beacuse of struts and other frameworks, writing java code in the JSP page has been reduced. Developers prefer to follow MVC architecture, and also use of tags is preferred over writing methods or scriplets in the JSP Page. This is not what Sun have thought when the introduced JSP (i,e, scriplets / methods being ignored)
With the type of usage changing what new future do you expect will be or should be introduced in JSP in coming years. For last couple of years many new tag library has been added to JSP. Has we reached a level where no further improvement can be done and only work will be done in building new tags?
Hans Bergsten, hans@gefionsoftware.com<br />Author of O'Reilly's<br />- JavaServer Pages,<br />- JavaServer Faces<br /><a href="http://www.hansbergsten.com/" target="_blank" rel="nofollow">http://www.hansbergsten.com/</a>
42
Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Originally posted by Prakash Dwivedi:
Won't this be unfair to other frameworks like struts
Originally posted by Prakash Dwivedi:
I fully agree that [JSP as a generic template engine] could be harder to use, but won't it be better if we have both the version at the same time. That is this new change comes as an add on and not as a replacement. So that the developers can choose which is best for him.
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Am I being censored?
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Originally posted by Prakash Dwivedi:
Thanks Mr Bergsten for such a nice explaination. But i have few queries
The only core changes I think may be desireable at this point are related to the EL API and possibly adding some hooks for better integration with JSF,
Won't this be unfair to other frameworks like struts :roll:
I know that some people want to make JSP useable as a generic "template processor" outside of HTTP, e.g., for generation of mails and resports. I disagree, because I think too generic solutions end up being harder to use.
I fully agree that this could be harder to use, but won't it be better if we have both the version at the same time. That is this new change comes as an add on and not as a replacement. So that the developers can choose which is best for him.
Hans Bergsten, hans@gefionsoftware.com<br />Author of O'Reilly's<br />- JavaServer Pages,<br />- JavaServer Faces<br /><a href="http://www.hansbergsten.com/" target="_blank" rel="nofollow">http://www.hansbergsten.com/</a>
Originally posted by Bear Bibeault:
Hmmm, certainly not by me -- and I can't imagine any of the sheriffs doing so. And I do recall the post. If I get a chance in a little bit I'll see if I can track it down.
Hans Bergsten, hans@gefionsoftware.com<br />Author of O'Reilly's<br />- JavaServer Pages,<br />- JavaServer Faces<br /><a href="http://www.hansbergsten.com/" target="_blank" rel="nofollow">http://www.hansbergsten.com/</a>
Originally posted by Hans Bergsten:
To me, JSP is a framework that should stay focused on generating response to HTTP requests, otherwise it just get harder to use.
If you look closely at this tiny ad, you will see five bicycles and a naked woman:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|