Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 9 of 9

Thread: should I use J2EE or not?

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    4
    My Mood
    Worried
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question should I use J2EE or not?

    hi everybody,
    I'm an intermediate java programmer. but never learnt or worked with J2EE.

    I need to create a web interface which has a static background and dynamic objects (images...) that change their statuts according to a database. For instance, one can have a photo of a room as the static background but has the image of the door dynamic (either open or shut) depending on the information stored in the database ( door_satut= open or shut).

    Now i need to know if J2EE is the appropriate web programming language to use with it or it's not worth working with?

    If so, could you please suggest a website or a book to initiate me with J2EE..

    Thank you in advance

    InkD


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,307
    Thanks
    181
    Thanked 824 Times in 767 Posts
    Blog Entries
    5

    Default Re: should I use J2EE or not?

    The answer to this question is entirely up to you, there is no right or wrong answer, you are asking on a java forum so the answers might be biased. Things to consider are a) access to servers that allow J2EE capability b) timelines and what other languages you are comfortable with c) your desire to learn new languages, and much more...In my opinion, J2EE - as the acronym entails - is for enterprise applications. While the definition of enterprise application may change slightly from one place to the next, the general keywords include complex, business, cooperate, scheduling, processing, scalable, etc...in my opinion (and only my opinion) often far overkill when all you want is a dynamic webpage to display a different state.

  3. #3
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,387
    My Mood
    Hungover
    Thanks
    144
    Thanked 628 Times in 538 Posts

    Default Re: should I use J2EE or not?

    Hey Copeg, what you say makes perfect sense. But as somebody who (very possibly incorrectly) uses J2EE to handle relatively simple dynamic webpage stuff myself, what alternatives do you suggest? And what is the dividing line between using J2EE or something simpler? I know this is a subjective thing, but I'm curious to hear the opinion of somebody with more experience than me. I've muddled through with J2EE knowing that what I was doing probably wasn't the best approach, and things have mostly worked out, but I'd love to hear more about your train of thought!
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  4. #4
    Junior Member
    Join Date
    Mar 2012
    Posts
    4
    My Mood
    Worried
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: should I use J2EE or not?

    Thank you for your answer.

    I see your point. Indeed, It's for an entreprise. I'm an intern and work with a team of telecommunication specialists. they work with sensors and staff in order to build a remote system of supervising while I have to create a graphic interface of the supervised area that is dynamic and is updated according to the information captured by the sensors and sent using modems and staff, there will be an ESB and a lot of thing. it's up to me to choose what language i'm going and i like java but I can work with php .... just i wanted to know if there is anay special aspect in my description that particularly relate to J2EE.

  5. #5
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,307
    Thanks
    181
    Thanked 824 Times in 767 Posts
    Blog Entries
    5

    Default Re: should I use J2EE or not?

    Quote Originally Posted by KevinWorkman View Post
    Hey Copeg, what you say makes perfect sense. But as somebody who (very possibly incorrectly) uses J2EE to handle relatively simple dynamic webpage stuff myself, what alternatives do you suggest? And what is the dividing line between using J2EE or something simpler? I know this is a subjective thing, but I'm curious to hear the opinion of somebody with more experience than me. I've muddled through with J2EE knowing that what I was doing probably wasn't the best approach, and things have mostly worked out, but I'd love to hear more about your train of thought!
    Its all a gray area, and quite subjective. I like to think java/J2EE better geared towards what I would define as an application. In many cases, I have a hard time defining a dynamic web site (at least the ones I have written) as an application - at least relative to the desktop and enterprise applications I have contributed to which utilize algorithms, threading, queue's, multiple network nodes/servers, machine learning, data mining, IO calls, etc..

    Consider a stripped down version of something like facebook. A user can register, post, view posts, and make friends. Essentially the website stores and presents user input, pretty much serving as a front end to a database. I would not classify this alone as an application. Now consider adding functionality such as suggesting friends (need algorithms to analyze graphical structures), using directed advertising based upon user history (you need algorithms to analyze and categorize), placing user requests into a multi-threaded queue beyond the view of the user (the two previous might be where this is necessary if the analysis takes a while and you don't want to lock up a web browser), firing timers to update logic or count down to a certain event (think ebay auction time left), etc...this would be where I would say it crosses the line towards an application - it is doing more than just storing and presenting information dynamically, it is analyzing and reacting to that information in a much more complex way. This isn't to say another language can't handle that (Ruby, php, perl, etc..). I personally like java because the option for different front ends (such as a webstart application) is much easier to enable. I personally like php for the more simple tasks mainly because of its ease of use and ubiquity on shared servers. My .02 and your mileage may very
    Last edited by copeg; March 26th, 2012 at 04:22 PM.

  6. #6
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,387
    My Mood
    Hungover
    Thanks
    144
    Thanked 628 Times in 538 Posts

    Default Re: should I use J2EE or not?

    Thanks for the explanation, that makes sense. My original plan was to pick up php, but then somebody (I think it was somebody on this forum actually) asked me why not use Java EE, so I went that route instead. I'm glad I did, as I'm learning an aspect of Java I'd never worked with before, plus my needs include things that are closer to the application side than the basic front-end side. Anyway, thanks again for clearing things up!
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  7. #7
    Member
    Join Date
    Feb 2012
    Posts
    58
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default Re: should I use J2EE or not?

    Anything involves in working with Servlets, JSP, JSTL, web services... meaning you are using Java EE, no matter how complicate your application is.

  8. #8
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,387
    My Mood
    Hungover
    Thanks
    144
    Thanked 628 Times in 538 Posts

    Default Re: should I use J2EE or not?

    Quote Originally Posted by Bob_Sadarka View Post
    Anything involves in working with Servlets, JSP, JSTL, web services... meaning you are using Java EE, no matter how complicate your application is.
    Right. But the point we're discussing is when those things are appropriate, and when it might be better to consider the other options.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  9. #9
    Junior Member
    Join Date
    Mar 2012
    Posts
    4
    My Mood
    Worried
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: should I use J2EE or not?

    I understand there is no need to use J2EE in my website. What I intend to do is something like:
    Logiciel de télégestion : Forum - Actualités - Images - Vidéos

    see the video ( the fifth minutes ) , adding to this the reporting and alarms..

Similar Threads

  1. Immediate need for Java/J2EE developers in Chicago
    By Chicagojava in forum Paid Java Projects
    Replies: 2
    Last Post: August 22nd, 2011, 08:01 AM
  2. Can't Call J2ee
    By DJB79 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: June 28th, 2011, 02:17 AM
  3. cross platform architecture in Java/J2ee
    By softwarebuzz in forum Web Frameworks
    Replies: 1
    Last Post: January 9th, 2010, 01:43 PM
  4. J2EE and J2ME projects
    By vmwelt in forum Paid Java Projects
    Replies: 0
    Last Post: August 12th, 2009, 04:13 PM
  5. How to develop java skills?
    By NickShirtcliffe in forum Paid Java Projects
    Replies: 0
    Last Post: July 3rd, 2008, 05:47 AM