Is Glassfish an overkill if using Spring and not using EJB? [closed] - spring

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
In a nutshell, I am trying to evaluate, in a scenario of a Spring-based web application not using EJB, if Glassfish offers any features that Tomcat does not that would make it worth using. In other words, if I am using Spring security, transaction management, as well as MVC (would like to use Facelets but then again, Spring Web Flow offers Facelet support), and not really any container management features of Glassfish that can't be found in Tomcat, are there any advantages of using Glassfish over the simpler Tomcat platform and what are they? Additionally, does it, in any scenario, make any sense to mix Spring MVC and JSF?

This link is pretty old, but might help.
Personally, I am a firm believer in not using an app server that has features I will never use, and since I still have a horrible taste in my mouth from past EJB experiences, I don't see myself willingly using them again, so I personally wouldn't consider Glassfish as Tomcat has everything I need. If all you need is added admin tools, there are plenty of commercial-grade Tomcat offerings out there, like SpringSource's tcServer (which I have personally used I liked quite a bit) or MuleSoft's Tcat. ReHat also had some enterprise Tomcat offering at one time, but the product name escapes me at the moment.

Related

A lightweight PHP frameworks that provides HTTP router and Access Control [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
As you know some well-known PHP frameworks have provide front-controller pattern and access control mechanism. Also there are some micro framework that provide front-controller pattern.
I have surveyed some such frameworks and yet could not make a decision, My concerns is:
Stability
Stability
Stability
Performance
Security
I do not expect any thing more form my core framework, I will use pure PHP or I may use specific module from various frameworks.
Currently I have experience in ZF 1.x, ZF 2.x, Phalcon frameworks. And I also read Lithium docs, but I found no one suitable for my project.
Also as per this, this, this and this pages ZF, Symfony, CakePHP, FuelPHP are not efficient frameworks (fat frameworks).
(image source)
Can you please suggest a suitable framework or a combination of moudules that satisfy such requirement?
Also see this related (but old) question.
In my opinion (because that's all that any answer could be here) the best, lightest weight framework is Kohana. It is very minimal and can integrate with whatever third party libraries you use (including ZF).
I always recommend the Yii framework.
It has great performance - http://www.yiiframework.com/performance/

Alternative to OSGi? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I need to implement a remote management system that does the following tasks on remote devices-
1) Install Software,Firmware.
2) Install Upgrades of the Software,Firmware.
3) Monitor the state of the installed software,Firmware.
OSGi can be one of the framework to achieve this, but it only supports bundles written in Java(implementations for C/C++ are available but they are not matured). I was wondering if there are any other alternatives that can manage software written in any language.
I've seen this question come up from time to time, but I don't think there is, and I doubt there will be,especially on mobile devices. Getting an API that 'feels good' regardless of language is pretty much impossible, and you need to interface with how a particular platform handles its updates. Provisioning OSGi components is just fundamentally different than updating an iOS app.
Then again, I'd love to be proven wrong on this one;-)
maybe you could have a look on MEF (Managed Extensibility Framework). Its for dotNet development and similar to OSGi. But I am more familar to OSGi as to MEF so I cannot tell the differences. I only heard from a C# pro that they have MEF instead of OSGi ^^

What java framework is easiest to use with embedded Jetty web server? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I want to create java application with embedded web server (Jetty, are there any other servers which I can use for that?) and database (H2). GUI of application will be accessible through web browser.
I can choose any framework which will allow me to create RCP application easy and work flawlessly witch my server. Also good behavior of hot swapping is important. Is JRebel needed at all with embedded Jetty?
I think it's mostly the battle between Seam 3 and Spring 3, but maybe someone have any real experience with that kind of setup?
Jetty is probably the easiest web server to embed. If you are looking for a very small, lightweight configuration, consider creating your own main() method that builds a Jetty Server programatically.
For development, you can also use the org.eclipse.jetty.util.Scanner interface to create a class that watches the paths you want and restarts the webapp when files change. For running from the console, I also created a Thread that periodically scans stdin so that when I hit Enter, the web app reloads.
I can't speak to Seam, but with Spring, the whole server starts up in about 5 seconds. Webapp reloads take less than 2 seconds. This may be fast enough that you don't need someting like JRebel.

Which IDE is better for spring development? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I was thinking to start Java enterprise development, so I started with Spring framework. I have already worked on some simple applications like CRUD apps and web services with STS(Spring Tool Suite). I know that there are lot more IDEs available like Myeclipse, intelliJ IDEA, Netbeans, Eclipse ee etc, and all of them have good support. However as a beginner, it is not possible to make a good comparison between all of these. But I have worked with Eclipse ee, therefore I find STS is better than eclipse ee, (I know sts is eclipse powered). Again, I heard from others that IntelliJ IDEA is the best. So I installed it, and got a lot of hiccups. Last day one of my friends suggested me to try Netbeans. So I need to know which IDE has better support like code generation, code assistance etc.
I haven't tried STS (http://www.springsource.com/developer/sts), but for Spring development I would guess that the IDE written by those that write Spring may have the best support.
But, if you are going to pick an IDE based on one technology you should be careful, otherwise you may find that you will need to use several IDEs in your development, eventually.
You may want to consider what other needs you want from your IDE, as, if you can have one that can meet all your demands then it may simplify your life.
The best IDE, hands down, is IntelliJ. It has terrific Spring support.
The answer is that there is no answer. It comes down to personal preference, what you get used to or policies in work.
Personally I like to know what is going on under the hood, so any old text editor might do, though I quite like STS Spring Roo support (though don't know what netbeans or intellij have to offer.

EHCache with Terracotta Vs Infinispan [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
We are working in the design phase of new project where we need to decide the caching framework. We need decide whether to go with EHCache with Terracotta or Infinispan for caching requirement? Can anyone provide me the advantages & disadvantages of EHCache and Infinispan?
Thanks in advance.
Is your environment distributed? If so, Infinispan would have an advantage of scalability due to its p2p design. Even in standalone (non-clustered mode), you'd get to take advantage of the non-blocking nature of Infinispan internals, state of the art eviction algorithms (LIRS), etc. Have a look at this article for a discussion of Infinispan as a local cache.
DISCLAIMER: I am the founder and project lead of Infinspan.
We were also in such an evaluation phase recently and decided for Hazelcast. In my opinion it is very easy to get started with. We needed a small solution with not very high traffic. They also provide a great support (I wrote a ticket and my problem was solved within one day!)
You should be clear if you want a server-based cache or a peer-to-peer solution as Infinispan or Hazelcast provides it.
Here you can find a short Hazelcast vs. Terracotta article: http://slava-technical.blogspot.com/2010/09/transparent-clustering-solutions.html

Resources