• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Deliver Test data with App

 
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello fellow GWT programmers !

Need some kind of parallel advice here. I need to deliver a GWT application compiled inside an EAR file, I have managed to assemble my EAR file correctly and deploy it to a variety of application servers, but now I'm in a bit of a pickle here. A Client has requested I deliver my web app with some test data preloaded into the application. What's the best way to do this with GWT ? Is there a way to emulate a Database ? Could I use Serialization ? (I have already tried but the file locations become unpredictable) Could I deliver some sort of portable Database with my EAR file ?

I expect to read from you soon, and thanks in advance,

Best Regards,

Jose.
 
author
Posts: 4112
28
Google Web Toolkit Eclipse IDE Flex
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XML file? You could add an embed db but it seems like a lot of extra work.
 
Jose Campana
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought about SQLite myself, How tough could it happen to be to ship it inside my Application ?

 
Tick check! Okay, I guess that was just an itch. Oh wait! Just a tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!