Questions tagged [spring-roo]

Spring Roo is a lightweight tool aimed at developer productivity. Via an intuitive command line interface it supports operations such as Java web project creation, persistence configuration and view scaffolding. Roo creates a Java web project that uses the Spring framework, and leverage some best well known practices in Java development such as dependency injection, aspect oriented programming, object/relational mapping (O/RM).

Spring Roo is a next-generation rapid application development tool for Java developers. With Roo you can easily build full Java applications in minutes. It differs from other productivity tools by focusing on:

  • Rapid results
  • 100% develop in Java
  • Easy-to-use
  • Fast and simple to remove
  • Totally compromise free
  • Active, helpful community
  • Comprehensive technology integrations
  • Extension points via Roo add-ons
  • Spring-certified architecture

Related Tags:

More Information:

http://projects.spring.io/spring-roo

http://en.wikipedia.org/wiki/Spring_Roo

https://github.com/spring-projects/spring-roo

http://www.manning.com/rimple/

1269 questions
85
votes
16 answers

Injecting a Spring dependency into a JPA EntityListener

I am trying to inject a Spring dependency into an JPA EntityListener. Here is my listener class: @Configurable(autowire = Autowire.BY_TYPE, dependencyCheck = true) public class PliListener { @Autowired private EvenementPliRepository…
balteo
  • 23,602
  • 63
  • 219
  • 412
74
votes
8 answers

Grails vs Roo - why SpringSource is pushing two very similar technologies?

SpringSource (now VMWare) has two very similar technologies: Grails and Spring Roo. I have been using Grails, but I see that SpringSource is actively working on something that is a competitor for that technology and that makes me worried about the…
Piotr Kochański
  • 21,862
  • 7
  • 70
  • 77
52
votes
14 answers

Error in Java Import statement "The import javax.validation.constraints.NotNull cannot be resolved"

After developing Spring roo project, I found following errors in class: The import javax.validation.constraints.NotNull cannot be resolved NotNull cannot be resolved to a type I am using STS 3.1.0.RELEASE How can this be rectified?
Simpanoz
  • 2,729
  • 10
  • 43
  • 64
41
votes
6 answers

What is Spring Roo?

Despite all I've read, I still can't figure out what Spring Roo actually is, and that's after reading the first chapter of Spring Roo In Action, What is Spring Roo?! I understand the motivation for simplifying the process of developing a Spring…
Spring Roo
  • 411
  • 4
  • 4
31
votes
3 answers

CRUD: To Roo or not to Roo?

I have been using Groovy on Rails for CRUD applications. I am starting a new project where we are not allowed to use Grails anymore (we have a list of allowed jars and grails is not there). I am considering using Spring ROO or JBoss Seam. How do…
Luixv
  • 8,590
  • 21
  • 84
  • 121
26
votes
6 answers

Ruby on Rails vs Grails vs. Spring ROO vs. Spring App

I'm planning on writing a simple web application that will be used by lots of users (as complicated as a simple bookmarking app) and I'm trying to decide which framework/language to use. I'm very experienced with Spring/Hibernate and Java in general…
Liz
  • 395
  • 1
  • 5
  • 12
19
votes
9 answers

Spring roo Vs (Wicket and Spring)

Spring roo is new framework and I found it very interesting. I have been working on web application for last 3-4 years and Always found JSPs are hard to maintain across teams if everyone is not disciplined enough about separation of markup and…
Ketan Khairnar
  • 1,620
  • 3
  • 12
  • 21
18
votes
6 answers

Is Spring Roo no longer supported?

I used to use Roo for starting new projects and want to advocate for in our company, however I've stumbled upon the fact that it does not support Java 8 and there is a ticket for it: https://jira.spring.io/browse/ROO-3505 I found it some time ago…
Artem
  • 7,275
  • 15
  • 57
  • 97
17
votes
3 answers

Is it possible to update only a subset of attributes on an entity using Spring MVC with JPA?

I'm working with Spring Roo, using Spring MVC and JPA for persistence with a MySQL database. I'm very new to Spring MVC and Java in general but have worked with CakePHP and Rails. I have a User entity that contains personal details in addition to a…
Eric Freese
  • 1,485
  • 2
  • 13
  • 25
16
votes
5 answers

How to set up init-method for a bean when spring is configured by annotation driven?

I use spring roo to build project and it's annotation driven, and there is no bean definition in XML file. All the configuration info is in *.aj file. And now I want to set up an init method for a bean which don't have a default constructor (that…
Charles
  • 675
  • 3
  • 12
  • 21
16
votes
4 answers

How to debug JSTL?

I'm using SpringSource Tool Suite (with Roo) and have some success. What bothers me though is that I don't know how to debug tag library-stuff. I may add breakpoints but it never stops at them. What I'm looking for is a dump of all current variables…
Hedge
  • 16,142
  • 42
  • 141
  • 246
16
votes
4 answers

Can we use multipart and @RequestBody together in spring?

I want to create a API which can have parameter as multipart file and JSON object (@RequestBody). Please find following snippet while calling this API. I am getting HTTP 415 Unsupported Media Type error. If I remove @RequestBody LabPatientInfo…
Mayur
  • 864
  • 6
  • 14
  • 25
16
votes
1 answer

hot deploy in embedded jetty

I have a Spring Roo project and I use mvn jetty:run to run my app. The only problem is changes to the *.java classes do not hot deploy, while changes to *.jspx hot deploy fine. So how can I configure mvn jetty to hotdeploy for java classes?
Lydon Ch
  • 8,637
  • 20
  • 79
  • 132
15
votes
5 answers

Code Analysis Tools and Inter-Type-Declarations

I have a maven project generated by Spring Roo and use several tools (checkstyle, pmd etc.) to collect information about my project. (namely I am using codehaus' sonar for this) Roo makes heavy use of AspectJ Inter Type Declarations (ITD) to…
er4z0r
  • 4,711
  • 8
  • 42
  • 62
14
votes
1 answer

Spring Roo, Hibernate, One to many relation creates additional table

I'm new to spring mvc, roo and hibernate. I'm trying to create two tables with 1:M relationship. For example, I want two entities, Person and Car. One person can have many cars. I've created entities using Roo entity --class ~.domain.Person field…
Emir
  • 1,586
  • 3
  • 16
  • 32
1
2 3
84 85