-
Aug 8th, 2012, 06:58 PM
#1
Roo Requires JPA?
Hello all,
I apologize in advance if this is obvious and I知 just not getting it. I知 very new to spring and roo. I have been coding java part time at work for several years.
I have a need to convert several similar php scripts to java. These are batch scripts that just do some sql transformations, extract some data, format some elements and write it to xml files.
I have read several books on spring DI, AOP and DAO and played a little. Today I focused on playing with roo from the command line and from STS. I知 sure that spring will be a benefit.
I find roo cool and interesting but I知 perplexed. It tells me something like 途oo requires JPA". Why JPA? My programs will certainty use logging (logback), AOP, some DI and will greatly benefit from Spring DAO. I don稚 need persistence at all. Can I just ignore the message?
Thanks
Eric Palmer
-
Aug 8th, 2012, 07:27 PM
#2
Roo does require you to create at least 1 persistent entity and setup the persistence unit as well. After you've done that you're good to go.
If I recall correctly, Roo packages an in-memory database that you could use, and it comes with all the JPA provides (or most of them) packaged, it's quite painless to set it up just enough to move forward.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules