Nov 8, 2009

Web Applications: J2ee Or Javascript/css/html

free web hosting
Open Discussion > MODERATED AREA > Computers > Programming Languages > Java, Java Servlets, Java Script, & JSP

Web Applications: J2ee Or Javascript/css/html

masugidsk8r
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

Comment/Reply (w/o sign-up)

apicolet
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).

 

 

 


Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : web, applications, j2ee, javascript, css, html

  1. Best Java Framework For J2ee?
    Your Opinion About The Best Java Framework (11)
  2. Use A Profiler To Make Your Java Apps Jvm-friendly
    If you don't profile your large enterprise Java applications prior (0)
    Use a Profiler to Make Your Java Apps JVM-Friendly (find java profile programs attached).
    QUOTE While veteran C and C++ developers know how hard it is to debug software memory problems,
    younger Java developers don't need to learn about them because Java handles memory automatically
    using the garbage collector (GC). When a Java developer creates a new Java object, the Java Virtual
    Machine (JVM) allocates memory for it and then reclaims the memory when the object reference is
    lost. Thanks to this simple, straightforward concept, many small to midsized Java appl....
  3. Java Mobile Applications
    What you wanna have on your phone ? (9)
    I'm trying to do a Java mobile J2me application... But I don't know what to do... Any
    suggestions....? Maybe you guys can say what you would like to have on your mobile phone... ....
  4. Running Midp Applications
    (4)
    I've downloaded Java Wireless Toolkit 2.2 and it has an emulator to run Java midlets without
    creating a new project... But I couldn't get it to work when I open a *.jar file with it...
    However, it could work when I run via from a project source... Is it suppose to work this way? How
    can I make the emulator to run the *.jar file directly? Assuming the *.jar & *.jad files are on the
    desktop.......

    1. Looking for web, applications, j2ee, javascript, css, html

Searching Video's for web, applications, j2ee, javascript, css, html
See Also,
advertisement


Web Applications: J2ee Or Javascript/css/html

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com