Java EE based API to provide lottery data