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 3941874
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:35:42+00:00 2026-05-20T00:35:42+00:00

I have a typical Flex-based application that was written to use a Java/Hibernate/MySQL backend.

  • 0

I have a typical Flex-based application that was written to use a Java/Hibernate/MySQL backend. The client changed the requirements – now they want to distribute it on a CD where the user can just run the app without any installation or a network connection.

What is the recommended migration path for this situation?

To do this, I certainly need to eliminate the web server and the database server and adapt my application (with as few changes as possible, of course) to a stand-alone application that will fit on a CD/DVD.

I’ve managed to export the data to XML and read it into Flex, but I’m wondering if there’s a way to recreate the Hibernate data structures in Flex so I could change as little code as possible. Failing that, is there any way to keep the existing Java/Hibernate external to the Flex code but retrievable without installing Apache Tomcat or MySQL? What other options exist?

  • 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-05-20T00:35:42+00:00Added an answer on May 20, 2026 at 12:35 am

    If you want the simplest way to make this work, you probably want to keep the service tier (i.e. Java/Hibernate/mySQL) since switching to AIR means you will have to rewrite that logic in flex again. I would suggest running Jetty directly on the client machine (assuming that they have Java) and using HSQLDB as the backing datastore (which supports just having a database in-memory). Serve the flash file from Jetty as well and point the client’s browser at a local URL. Better yet, have a simple java app that includes an embedded browser so the jetty instance would be killed when the user closes the app.

    Apart from configuring everything on the java-end, the amount of code to rewrite should be minimal.

    See:

    • http://wiki.eclipse.org/Jetty/Tutorial/Embedding_Jetty
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java server application and a Flex client application. For my data
We have a typical business application with an Outlook-looking Winforms client talking to asmx
I have this typical scenario. I have a smartclient application built on .net 2.0
I have a win form UI that looks like a typical calculator. Naturally I
I have a typical Silverlight application with a WCF service and I am using
I have yer typical servlet that streams a pdf to a browser. The pdfs
I know similar questions have been posted before, but I have specific requirements that
Is there any phone that doesn't have typical sms content provider (content://sms/inbox)? Or there
I have a Flex application which has to be deployed in some server. The
Let's say you have a typical web app and with a file configuration.whatever. Every

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.