Results 1 to 3 of 3
  1. #1
    ncc1701e is offline Member
    Join Date
    Jan 2014
    Posts
    1
    Rep Power
    0

    Default Why Java Enterprise?

    I am new to Java enterprise and am desperately trying to understand things at a very basic level. As far as I know, html, CSS, and JavaScript can represent the web just fine, why is java so intertwined with the web? Why do we even need middle tiered logic? Couldn't web servers communicate with databases just fine? Why do we have application servers in the middle? I guess what I want to know is what is the motivation for the creation of a middleware tier and therefore this whole java enterprise beast?

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,082
    Rep Power
    4

    Default Re: Why Java Enterprise?

    Why do you call it a beast? An application server is basically just a Java virtual machine with an embedded web server and a list of standardized APIs and implementations of those APIs. Its exactly what I'd want - a little standardization in the great big and wickedly flexible (and by extension - often incompatible) Java world. Nobody is forcing you to use it, it is just a good thing to flock to something documented and standard because then you get a pool of people with compatible skills too.

    And what do you mean "intertwined with the web"? It is no more intertwined than say a Perl or a PHP. Its simply a means to an end, nothing more. Its basically your romanticized view on things that is the real problem here.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  3. #3
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    8

    Default Re: Why Java Enterprise?

    Because none of those will perform complex processing on the server side, properly maintain a session scoped resource, etc, etc, etc. HTML, CSS, and JS "can represent the web just fine" ON THE CLIENT SIDE, not so good for determining content, maintaining DB connections, etc, etc, etc.

    Edit: Of course, with the web you are also forgetting CORBA, SOAP, yaml, XML, and probably a HOST of other web-based protocols. MOST of which are handled by a JEE server without the programmer having to now all too much about the "inner workings" of those protocols. You do realise, I hope, that a JEE server PRODUCES exactly these things you have been listing (and those listed here) as OUTPUT, right? What the JEE server itself is REALLY concerned with is the DATA and back-end processing, using those things listed here ONLY as input/output protocol.
    Last edited by masijade; 01-14-2014 at 09:43 AM.

Similar Threads

  1. Sample Java Enterprise Program/Flowchart on Net ?
    By dmaccormick in forum Forum Lobby
    Replies: 1
    Last Post: 01-21-2013, 08:19 AM
  2. Create Java Enterprise Application with Mobile Client
    By praveensingh18 in forum Advanced Java
    Replies: 2
    Last Post: 08-24-2012, 11:29 PM
  3. Replies: 0
    Last Post: 03-30-2012, 12:28 PM
  4. 64 bit java on Windows Server 2008 Enterprise SP2?
    By darrens in forum New To Java
    Replies: 1
    Last Post: 07-06-2011, 07:51 PM
  5. Replies: 1
    Last Post: 02-28-2011, 04:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •