• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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: 4278
34
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 ?

reply
    Bookmark Topic Watch Topic
  • New Topic