This is a migrated thread and some comments may be shown as answers.

Custom Widgets in JavaScript or Java when using JSP.

1 Answer 201 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
kt
Top achievements
Rank 1
kt asked on 23 Jan 2014, 10:35 AM
We are a company there have a huge web application running. The system is coded in Oracle, JSP, Java, JavaScript using Backbase, where the transport for data and function calls to Oracle is done using xml.
 
We are thinking about changing the interface framework and that's why I'm looking at Kendo UI.
 
I'm managed to make extended dataSources (connected to Oracle by using the existing xml interface) in JavaScript executed from JSP (Not using libtagging) by using "new kendo.data.DataSource". I have build custom observes, grids, forms and other controls with data binding in a MVVM environment.
That all works very well. Have made all the code in js files and is using jQuery Ajax to loads interface parts.
 
Now to my question.
 
I can see in examples when running JSP in a MVVM environment, kendo UI are talking about doing the widget extension in java, making a bean and libtag it in jsp.
 
What benefits do I get by coding the widgets in java instead simply directly in JavaScript?
 
Please advice :-)

1 Answer, 1 is accepted

Sort by
0
Accepted
Sebastian
Telerik team
answered on 23 Jan 2014, 12:49 PM
Hello Per,

Our JSP (Java) server wrappers give you the option to use server-side Java code logic (if you prefer) instead of plain html and javascript, and potentially utilize Java framework features for this purpose. It is mostly for people who prefer Java server coding and do not feel very comfortable with front-end development.

Both approaches can ultimately bring similar results, hence it's your choice which path you'll decide to take.

Best regards,
Sebastian
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
kt
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or