Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7831409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T11:42:59+00:00 2026-06-02T11:42:59+00:00

At first my app was going to access a MySQL database, but everything changed

  • 0

At first my app was going to access a MySQL database, but everything changed and now it must read from a XML file, it will only read from it.

The basic idea is:
1. Admin App persist to MySQL.
2. Admin App generates a MySQL xml dump (mysqldump tool).

3. App send the xml to client.
4. Client query the xml.

Maybe there are more clever ways to architecture this, but right now this is not the point.
Is there any Hibernate like XML – Relational to do this, how could I achieve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T11:43:01+00:00Added an answer on June 2, 2026 at 11:43 am

    Ended using XStream to create my xml(instead of using the MySQL dump) and also to deserialize it. Worked like a charm.

    The steps I followed.

    1. Created a Bean to serve as my root node, this bean hold lists of all the other beans.

    2. Did an xstream.toXML(myRootBean) and write it to a xml file.

    3. At the other end, read the file and did an xstream.fromXML() casting it to myRootBean.

    4. Then just access the lists, like myRootBean.getPotatoList()

    Important to notice that you must set the alias for each class before toXML and fromXML.

    xstream.alias(“potatos”, List.class);

    xstream.alias(“potato”, Potato.class);

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on my first app now and it's going quite well, but I'm
Sqlite on android lets you access the database from multiple procs for reads, but
I'm getting ready to develop my first Silverlight app. It is going to be
I've nearly finished my first App but i'm getting a weird EXC_BAD_ACCESS that nearly
I'm writing a 4chan-like imageboard in Rails. It's my first Rails app after going
I'm trying to get my iOS app to access files from my local apache
I'm going to write my first non-Access project, and I need advice on choosing
in my app i try to get access to some web service. I'm going
We are new to Azure and are going to deploy our first app in
I'm writing my first Android app, which is more or less going to be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.