|
|
|
|
![]() ![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members
Posts: 168 Joined: 21-February 07 Member No.: 38,999 |
Post
#1
Mar 23 2007, 10:13 PM
I'm currently programming web applications using AJAX/CSS/HTML and they're pretty cross-browser. However when I heard of this language J2EE I had second thoughts. But I ran into GWT (Google Web Toolkit) which compiles Java code to Javascript/HTML. With this said, my mind tells me that Java developers desire to use Javascript/HTML languages to create web applications over Java. So, which one should I start developing web applications in? Java? or Javascript |
![]() Group: Members
Posts: 8 Joined: 22-November 07 From: Antibes, France Member No.: 53,494 |
Post
#2
Nov 22 2007, 03:11 PM
Well, I would say it depends, and it could even be both (easy answer)... In creating a web application which is not only a bunch of static files, you will always have two parts where your code will run : - on the browser (in Javascript typically) - on the server (in J2EE, PHP, CGI, whatever) I am currently on a project using AJAX philosophy on the browser, with ext-js Javascript framework notably. This is to increase user experience : no more page loading, dynamic,independent panels in different parts of the page, immediate data validation, etc. However at some point, these Ajax call do call some URL on the server, for it to actually do something (that is their reason in life). For the server part, I use the Web part of J2EE, namely, a Tomcat server with WebWork as controller, JSP pages for HTML views, and JSON for data exchange with browser. I would say it is quite common to use both J2EE and AJAX, as the requirements are independent : - you will want AJAX if you want a sexy 'Web 2.0' UI, instead of a awful succession of pages which reload entirely each time - you will want J2EE if you have some complex business logic (maybe not if you only need to put and retieve data in a DB without any processing), or some complex integration with other server systems (using JMS, or connection pooling, etc). |
![]() ![]() |
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
1 | illnet | 712 | 20th June 2004 - 04:50 PM Last post by: ultrasmad |
|||
![]() |
102 | chelcy | 36,730 | 4th January 2009 - 07:04 AM Last post by: rpgsearcherz |
|||
![]() |
22 | EricDrinkard | 2,913 | 20th December 2008 - 02:08 AM Last post by: stiler |
|||
![]() |
11 | football123213 | 928 | 30th July 2004 - 03:34 PM Last post by: templest |
|||
![]() |
9 | Vacant | 1,232 | 17th November 2006 - 05:13 PM Last post by: it01y2 |
|||
![]() |
100 | djleli | 5,213 | 23rd December 2008 - 06:34 AM Last post by: contactskn |
|||
![]() |
7 | Saint_Michael | 689 | 20th November 2004 - 08:02 PM Last post by: swanx |
|||
![]() |
10 | holyium | 1,230 | 25th September 2004 - 12:33 AM Last post by: spyshow |
|||
![]() |
41 | habbovalley | 1,667 | 7th November 2008 - 03:26 AM Last post by: dragonfang00 |
|||
![]() |
3 | Vacant | 497 | 26th August 2004 - 09:09 AM Last post by: Vacant |
|||
![]() |
0 | deedee2003 | 506 | 5th September 2004 - 09:11 PM Last post by: deedee2003 |
|||
![]() |
7 | Liquid Fire | 650 | 9th November 2004 - 12:15 AM Last post by: fowlball1010 |
|||
![]() |
0 | rowita | 535 | 30th September 2004 - 02:40 AM Last post by: rowita |
|||
![]() |
12 | Saint_Michael | 1,569 | 18th December 2004 - 05:28 AM Last post by: s243a |
|||
![]() |
1 | hansley | 609 | 11th October 2004 - 03:54 AM Last post by: Trystim |
|||
|
Open Discussion | Time is now: 10th January 2009 - 02:28 AM |