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

  • Home
  • SEARCH
  • 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 496029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T05:38:51+00:00 2026-05-13T05:38:51+00:00

We are creating a small application that will be deployed to very limited machines.

  • 0

We are creating a small application that will be deployed to very limited machines. They have only 256mb of RAM.

I would like to use JPA as it simplifies the code and removes the need for JDBC ResultSet code. However, will the overhead of JPA on such small machines be a factor? I am thinking of using Toplink at the moment, which comes in a 2.5mb JAR file.

We only have a limited number of tables, so the JDBC code won’t be too much trouble. But JPA makes the code so nice.

Cheers.

  • 1 1 Answer
  • 3 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-13T05:38:51+00:00Added an answer on May 13, 2026 at 5:38 am

    JPA/ORM performance at runtime will always be greater than or equal to JDBC, since they’re both based on JDBC.

    As you’ve noted, the big lift you get from JPA/ORM is at development time.

    I would like to use JPA as it simplifies the code and removes the need for JDBC ResultSet code.

    I’m not sure that I understand this statement. JPA will be using a ResultSet behind the scenes; you just won’t be writing it. The mapping from ResultSet to objects is encapsulated in XML or annotations.

    If you’re truly memory bound, you might have to pass on JPA and hand code the JDBC.

    You might look at Spring JDBC in that case, because it’s got a very nice design for JDBC support that makes it pretty simple.

    256MB of RAM? You’ll have a hard time using any 3rd party libraries.

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

Sidebar

Related Questions

I am creating a small application that will be deployed on Window. The database
I am creating a small application that will open a word document, scan it
I am creating a small .NET 4 application that will require small but frequent
I have been task with (ha) creating an application that will allow the users
I'm creating a small application on an embedded device that has a boa web
I am creating a small modal form that is used in Winforms application. It
I'm building a small application that will crawl sites where the content is growing
Background: I'm building a small application that will be run daily, pulling data from
I'm creating a small app in ASP.NET MVC that generates ics (iCal) files based
I am creating a small console app that needs a progress bar. Something like...

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.