Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

UI development with Jsp and Spring  RSS feed

 
Padma Priya
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I wanted to know if it is possible to carry out rich UI developmet with JSP and Spring. Is it a feasible option?

Or is JSF and Spring a more better option?


Thank in advance


With Regards
Deepthi.
 
Pawan Kr Gupta
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Deepthi

JSF and Sprig both are framework.

So you should use JSF because JSF is a latest Framework and also a very good Technology.Presently JSF 2.0 is in the market.

 
Padma Priya
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pawan,

Thanks for the prompt reply.

Even i was of the same thought. But i am not able to convince my manager. Apparently from talking to all other java developers he has come to the conclusion that jsp is easire to develop and faster.

Our present application has spring and JSf. But he wants to replace with Struts+jsp.

Can you share your thoughts on the same. I am not clear on this aspect "is it possible to do UI development with jsp and spring".

With Regards
Deepthi.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66199
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pawan Kr Gupta wrote:So you should use JSF because JSF is a latest Framework and also a very good Technology.

That's one viewpoint. Then there are lots of experienced web developers. like myself, who thinks that JSF is an abomination that needs to be excised like a cancer.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66199
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deepthi Tirunahari wrote:is it possible to do UI development with jsp and spring

Of course it is: http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/mvc.html
 
Padma Priya
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,

Could you please elaborate on what you thing is the best option.

Is developing UI with JSP and Spring a good option.


I am working on a POC and need some pointers on this.


Thank in advance


With regards
Deepthi.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Spring has nothing to do with UI so just get that out of the picture. Personally, I do all my UI work with jQuery / jQueryUI / other jQuery Plugins. My views are generally JSP driven (rather GSP because I'm using Grails, but in essence, the same thing).

When it comes to front-end technology on the web, you'll find a lot of fanatical people recommending their favorite. There is no true answer. You just have to try out a few things and see what you feel most comfortable with.
 
Mark Reyes
Ranch Hand
Posts: 426
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Deepthi,

I think when it comes to Java, some folks here always use JSP as the template technology (aside from velocity I think and others XSLT..)

I started learning Spring this June and is still at the learning phase but I think annotated controller simplifies everything. Of course I always use JSP as the end view.

I wanted to know if it is possible to carry out rich UI developmet


JSP's are translated into HTML and if this is your goal then you'll have to make use of Jquery as Gregg suggested. This library almost does much of the workload.

I learned Jquery reading Jquery In Action and I always read the post of the HTML forums of javaranch. Be sure to read topics that are being replied by the guru's here
(Bear/Gregg/David/Eric). They always teach me something I haven't experience or tried..

Good luck on convincing your boss...

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!