Results 1 to 8 of 8
  1. #1
    lopes_andre is offline Member
    Join Date
    Jul 2010
    Posts
    1
    Rep Power
    0

    Default From PHP to Java

    Hi, I'am a PHP programmer with 1 year of experience programmimg WebApps. I need to start developing WebApps in Java.

    It is good idea to start in Java developing WebApps or should I learn Java with no WebApps development?

    Oh, and another question... What Framework should I use? My applications will be enterprise web 2.0.

    ps: Sorry my bad english.

    Best Regards,

  2. #2
    jogep is offline Member
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    43
    Rep Power
    0

    Default

    Congratulations to choosing Java for Programming WebApps.

    It is good to start Java for developing WebApps, this is the
    best part form java.

    But which Framework is hard to say ask 100 Java Developers and you receive 100 Answers. And it is depended from your knowledge and type of your project.

    I have mad good experience with Struts2 it has many Plugins and works well together with other frameworks.

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Welcome to Java Forums. :)

    Actually those days more trend is on web applications, not for the desktop applications. Lots of people are dosen't like to install the applications on there PCs. And also most of them wants to access their data from anywhere in the world.

    When comes to the selecting of a framework, it's mainly based on the application you are going to develop. At the same time, the knowledge about that you've plays a major role too. I don't think it's easy to comment anyone on what's the best framework to move with. It's depends on there own experience. Generally if someone working for a long time in different aspects he/she has a better review on it.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    And also, be update on new technologies as much as possible. When comes to Java there are large number of different frameworks. So learning all of them is not a practical task.

  5. #5
    georgemc is offline Senior Member
    Join Date
    Sep 2008
    Posts
    135
    Rep Power
    0

    Default Not just frameworks

    If Web 2.0 is your thing, then these days it's pretty common to expose parts of your app as web services, so that app developers and the like can consume them. With that in mind, building the whole app as RESTful web services, and having the UI as just one view of those services is an option to consider, rather than going down a Struts2 or similar avenue. This is how frameworks like Rails and it's cohorts in other languages do things.

    In Java, my first choice would be Jersey, the reference JAX-RS implementation, but others are available.

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    One of the major advantage I've seen in use of web services is that the avoiding code duplication. Mean it could be is not only in web applications, but also in desktop applications as well, and in many aspects.

  7. #7
    georgemc is offline Senior Member
    Join Date
    Sep 2008
    Posts
    135
    Rep Power
    0

    Default

    Yep, it's great for the DRY! Rather than writing the web app for people to use, and then another one for other apps to use, and having to maintain them both, you just write the one. As someone else put it at a conference, "write the RESTful web services, and you get the web app for free".

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    Of course. Actually that's our new approach in many case. Because in todays contest we have to maintain the same application in different views, on the web, as a desktop application, as an application of iPhone, etc... In such case just think about the set up where we can access the same resource in different ways, and how it survive you.

Posting Permissions

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