• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deliver Test data with App

 
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I thought about SQLite myself, How tough could it happen to be to ship it inside my Application ?

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic