Results 1 to 8 of 8
Thread: From PHP to Java
- 07-15-2010, 10:34 AM #1
Member
- Join Date
- Jul 2010
- Posts
- 1
- Rep Power
- 0
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,
- 07-15-2010, 03:29 PM #2
Member
- Join Date
- Dec 2009
- Location
- Germany
- Posts
- 43
- Rep Power
- 0
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.
- 07-15-2010, 05:59 PM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.
- 07-15-2010, 06:03 PM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.
- 08-10-2010, 04:54 PM #5
Senior Member
- Join Date
- Sep 2008
- Posts
- 135
- Rep Power
- 0
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.
- 08-11-2010, 04:28 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.
- 08-11-2010, 09:52 AM #7
Senior Member
- Join Date
- Sep 2008
- Posts
- 135
- Rep Power
- 0
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".
- 08-12-2010, 06:04 PM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
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.


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks