borg9.sf.net | FrontPage

summary - J2EE/ Java Web-App Framework

this is a library of classes (where classes means, like, 4) that i have created for use with open source frameworks. for example, with hibernate, following query by example pattern for querrying in persistence and implementing optimistic locking for updates.

when to use this?

  • you're using hibernate for your persistence and you want to use a QueryByExample style for queries.
  • hibernate is a very lightweight persistence framework. borg9 tries to direct you towards a specific way of doing persistence.
  • for every table you have a DAO and a DTO.
    • DAO is what you call to get the data
    • DTO is the data structure representing a row in the table
  • if you already have an approach for persistence, borg9 probably won't add a lot of value for you.

features

  • really small and simple DAOs
  • optimistic locking (schema and DTO must conform tho)
    • hibernate has some suggestions
    • my solution uses the time stamp
  • there are no grand plans for this project, just a central place to put all those helper classes that i use to fill the gaps in a typical enterprise java application.
  • i'd also like to codify some basic patterns.

docs

how to get it

me and my source-forge learning links

SourceForge.net Logo