java backed web scripts

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2008 10:07 AM
Just had a simple question? Are java backed web scripts controllers faster than java script web script controller
Thanks
Thanks
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2008 02:45 AM
Just had a simple question? Are java backed web scripts controllers faster than java script web script controller
Thanks
Yes but you have to consider the trade-off you are making. You are swapping agility of development for speed of code execution. I think this is an important decision and one you should think hard about. If you need really fast stuff because you are going to hammer on it and you can't get what you need from the js/freemarker executor the pure java will give you a boost but you will have to recompile and deploy on every change etc.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2008 04:12 AM
They are slightly faster for regular scipts, and massively faster if you're going to do a lot of work on the nodeService. For instance, if you're going to touch a lot of nodes, Java will be quicker - especially when you do a lot of processing in Java that otherwise would have been in FTL. Just keep in mind that the system itself is the bottleneck and you're using the same API - for a simple script, there won't be much of a difference.
