What does java based web apps defer from others (php, ruby)
I am a php dev, and became curious about java as a base for a web app. I would like to ask,
consider the same system requirements
1.) what does java based web app defer from let say php based web app (aside from syntax of course)
what are the pros and cons? I know this is not a constructive question but I can't help my curiousity.
also based on my own research, it seems, java based web apps are more targeted on large scale systems and not a good choice for small to mid size systems
Thank You in advance
Re: What does java based web apps defer from others (php, ruby)
For smaller sized systems, both J2EE and any other web framework can pretty much accomplish most of the needs of a project. For instance pulling data from a database, making dynamic webpages based upon queries to display data, even using AJAX to query something like a REST service. But when the scale gets larger, or the needs of the system grow, in my opinion J2EE has features that put it into a more advantageous category. Think of features such as remote method invocation (call a method of an object on the server remotely), object transfer across a network (pass objects between two different JVM instances), timer services (run periodic services), multiple clients (eg webstart, webpage, etc...), messaging services (eg JMS), and thread management (long running tasks can be queue'd into a managed service to run the task).