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.
I am working on a web project using velocity template and servlets. The code is a bit old and we are trying to refactor it before adding new functionalities. I am thinking of introducing dependency injection framework. Searching on net, I found spring DI, pico, guice as some of the options. But, not sure which is the right option. Ideally, I am looking for something easy to start with and lightweight.
Considering it is "a web project using velocity template and servlets", I suggest springframework. It is well documented, vastly used/tested, active community and will help with more then DI.
Related
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 been writing a number of systems in Java, Spring, WebFlow, Hibernate and Maven running them on JBoss servers. I am thinking about learning Scala..
is anyone using Scala, Spring, WebFlow, Hibernate and Maven for real life projects running in big firms??
should I move to Scala, Spring, WebFlow, Hibernate and Maven?
Well, it all depends on the project. We use lots of Spring MVC (REST) + pure html/js UI. It is really reasonable. I think you better look some comparisons, like http://www.slideshare.net/mraible/comparing-jvm-web-frameworks-jfokus-2012 - they will give you much more information of what to use.
As for me, I'd never use WebFlow or JSF..
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 am building a mid-sized standalone console based java application and I must log various events that can take place. I am not sure about which API to use. I have looked upon Logback Project and log4j. I am concerned if these are the right one, since both of the seem to have extensive uses in the web application projects. Please help me decide if I am better using the default java.util.logging API or should I use another frameworks; if so which one.
Thanks!
I recommend slf4j.(it's written by the same guy who did log4j) You can read more from here
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.
Does anyone know a good open-source project where I could have a look on the persistence layer (for good programming practices and transaction management) where Hibernate 3 and JPA 1 is used?
I couldn't tell you of any open source projects you can check out, but if you want to learn hibernate I can recommend a great book from Apress. It is called Hibernate Recipes and it pretty much explains everything.
PS: no kind of advertising intended, just trying to help OP.
Try to search Bitbucket or GitHub repositories for "Hibernate", you will find a lot of sample projects you can learn best practices from.
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.
How you do design composite webservices. Are there any frameworks available to let the developer simply concentrate on bussiness logic and to implement composite frameworks with some simple configuration.
I have read about SCA. But seems there is very less implementations of it.
Can some one suggest are there any frameworks which support ease of developing the composite webservices
An ESB caters this aspect to some extent. Please have a look at the open source WSO2 ESB built on top of Apache Synapse.
The WSO2 ESB comes with a large number of samples and please have a look at this sample too....
Thanks...
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 know the question is subjective, but since the OpenID libraries page lists a number of libraries, I thought some attempts might be made to nominate one or two that are best, in terms of:
project activity
quality (few bugs, easy API, properly implementing the protocol)
documentation
I'd appreciate an answer from anyone having used any OpenID Java library
My choice was openid4java, because:
it is in a public maven repository
it's been actively developed (see the activity indicator on google code)
it worked fine, with the documentation provided
it's easy to use