IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

Web Applications: J2ee Or Javascript/css/html


masugidsk8r
no avatar
Premium Member
********
Group: Members
Posts: 168
Joined: 21-February 07
Member No.: 38,999



Post #1 post 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
Go to the top of the page
+Quote Post
apicolet
no avatar
Newbie
*
Group: Members
Posts: 8
Joined: 22-November 07
From: Antibes, France
Member No.: 53,494



Post #2 post 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).
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   1 illnet 712 20th June 2004 - 04:50 PM
Last post by: ultrasmad
No new   102 chelcy 36,730 4th January 2009 - 07:04 AM
Last post by: rpgsearcherz
No new 22 EricDrinkard 2,913 20th December 2008 - 02:08 AM
Last post by: stiler
No New Posts   11 football123213 928 30th July 2004 - 03:34 PM
Last post by: templest
No New Posts   9 Vacant 1,232 17th November 2006 - 05:13 PM
Last post by: it01y2
No new   100 djleli 5,213 23rd December 2008 - 06:34 AM
Last post by: contactskn
No New Posts   7 Saint_Michael 689 20th November 2004 - 08:02 PM
Last post by: swanx
No New Posts 10 holyium 1,230 25th September 2004 - 12:33 AM
Last post by: spyshow
No new   41 habbovalley 1,667 7th November 2008 - 03:26 AM
Last post by: dragonfang00
No New Posts   3 Vacant 497 26th August 2004 - 09:09 AM
Last post by: Vacant
No New Posts   0 deedee2003 506 5th September 2004 - 09:11 PM
Last post by: deedee2003
No New Posts   7 Liquid Fire 650 9th November 2004 - 12:15 AM
Last post by: fowlball1010
No New Posts   0 rowita 535 30th September 2004 - 02:40 AM
Last post by: rowita
No New Posts 12 Saint_Michael 1,569 18th December 2004 - 05:28 AM
Last post by: s243a
No New Posts   1 hansley 609 11th October 2004 - 03:54 AM
Last post by: Trystim


 



RSS Open Discussion Time is now: 10th January 2009 - 02:28 AM