Grails vs Spring [closed] - java

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Can any one please explain me that whats the better option for an enterprise java web application of more than 500 database tables.Either we should use Grails or Go for (Spring,hibernate and Spring MVC/Struts 2).If you suggest grails then please elaborate why not the other one and if Spring then why not grails.
Thanks.

I was in the same situation about 4 month ago, and I wasn't familiar with Grails, but I want to have a platform to develop our website very fast and I think our project is as big as yours, we started to work with spring and start using spring roo for mvc but as time goes by we find out that spring will not satisfy our need, and roo is not what we want so we switch to Grails and I found Grails one of the best web frameworks that I ever worked with. here is one of the question that was in my mind about spring roo.
All in all as a satisfied customer of Grails, strongly suggest Grails.
(In my opinion, Grails and AngularJs are the prefect match.)

Related

what are the benefits of using a spring-boot library instead of the core libs? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 11 months ago.
Improve this question
I need to use Kafka in my spring-boot application and I see spring-boot has its own spring-kafka library. I am new to spring and java and confused if I should be using spring-kafka or any other application's spring-based lib rather than using the core libraries and what are the benefits of either one of them.
Spring boot with Kafka comes with various autoconfiguration out-of-the-box to save you from the trouble of configuring each and everything (though you can definitely override spring-boot opinionated autoconfiguration).
So, if you want a ready-made application to work quickly, you can take the help of spring-boot and its utilities.
If your preference is configuring each and everything to gain fine control, use core libraries.
I'd say it's just a matter of choice or preference.

Is spring mvc more important for all the spring projects [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am new bee to spring. I am trying to build an application using JSP and Hibernate with Spring. Is it a good practice to use jsp, servlets and use spring to declare the database connectivity and beans in xml or should i use spring mvc please guide me.
You can use whatever part you need from spring. That is one of the best thing about springframework. If you need to use spring just for data access layer then that is fine use it just for that. If you will use it dependency injection frawework for your project then you can use it that way.
Spring MVC is just a presentation layer part of spring. I have been using springframework for last 12 years and I haven't used SpringMVC until last year. So I recommend you to use what you know best for presentation layer but I also strongly recommend using spring for back-end layer.

Security+Authentication+Authorization with Java EE 7 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am new to Java EE, so to learn Java EE (EJB+CDI+either Zkoss/JSF 2.0) I am trying to build a sample application.
In this application I don't want to use any spring-security related stuff. I do want the Authentication+Authorization mix which is provided by Spring Security. Further more I want to have tags which might help me on the view part as well.
I tried searching on the Internet for this. I found something called Apache Shiro. I don't want to use any other framework.
Can anyone please provide any necessary guide lines that how can I achieve this using the Java EE stack? Is there any specification? Or how can I implement it if I have to write my custom code? Any examples that you guys have come accross would be great if you guys share.
I strongly recommend PicketLink for your JavaEE application. It's CDI-managed (so you don't need Spring or other heavy-weight framework), has a big pack of tutorials and quite simple for beginners.
UPD: It's JBoss dependent.
You should use JAAS if you don't want to use any framework. You will have to research about JAAS. You can look at http://docs.oracle.com/javase/7/docs/technotes/guides/security/jaas/JAASRefGuide.html

java spring framework knowledge consolidation [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I recently followed some spring related tutorials and I get the feeling that I will forget the concepts learnt so far quickly, since projects I am engaged in at the moment, do not use spring.
I would love to consolidate the things I have learnt and stay in touch with spring. My question is what kind of a project should I start in order cover most of the concepts that I learnt in spring?
Thanks.
Think of a Project for yourself. A photo sharing app for example. This is how I do it. I think of a project for myself and code it in my free time - thus stay in touch with Spring for example.
btw, my last project using spring has now over 100 registered users, which I did not expect and they all demand other functionality - this way you have to improve also.
I might suggest openshift as your deploy environment - it's free with plugins for eclipse.
You might also ask/answer spring related questions here on SO - this is always helpful of course.
Think about some examples and try to resolve with spring, Write blogs about spring, contribute some open source projects that use spring. This is the way that I learn spring and still doing. :)

What are the best java/j2ee web application auto code generators? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I know this question is subjective but I would really want to know what are the best j2ee web application auto code generators.
I googled and found out the Appfuse is one of them.
Spring ROO is another but it depends on spring i think.
Are there any other better tools?
Basically lot of time is spent on creating regular CRUD screens with the same mundane things for each screen.
So, I would want to reduce the time spent on such simple CRUD screens so that I can focus more on the core application logic.
We use Telosys (http://www.telosys.org/) to generate repetitive code like CRUD screens.
A set of templates are available for Spring MVC, JPA, AngularJS, etc.
We have customized some of them. It saves of lot of time.
The best solution I have seen so far is Grails. It generates groovy code, not java but you can interface painlessly with any java library/class. The convention over configuration features are amazing and one can put up a functioning web app in minutes. I suggest you see for yourself - just try the grails screencasts. They will get you up to speed in 15 minutes.The technologies used under the hood are best-of-breed : spring, hibernate, lucene, quartz, sitemesh etc.

Categories

Resources