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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:08:15+00:00 2026-05-18T09:08:15+00:00

I am using gwt rpc and hibernate on the back end. I have an

  • 0

I am using gwt rpc and hibernate on the back end. I have an object in which one of the field is an image. I have to place the image in the object, send the file over rpc and saving it back to database using hibernate.

Does anyone of you have an idea about 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-05-18T09:08:15+00:00Added an answer on May 18, 2026 at 9:08 am

    It can’t be done exactly as described. In javascript, you can’t capture the binary contents of a file into the javascript VM. You have to use file upload to send it to the server. Your flow needs to be something like:

    1. Capture non-binary fields (text) into the POJO. I.e. a form.
    2. Transfer the object using GWT RPC to the server.
    3. Upload image to server.
    4. Join the image into the POJO on the server.
    5. Save to database.

    The image field needs to be annotated @GwtTransient to be transient in GWT, not transferred in the ajax requests, but still persisted by hibernate.

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

Sidebar

Related Questions

I have a simple POJO mapped to a table using Hibernate. Which works just
Using GWT with the MVP pattern , I'd like to have a place that
Have you tried using MVC or any other UI pattern for GWT client code.
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
I am using GWT-RPC to populate Ext-GWT TreeGrids with data from a server. I
I am evaluating if there is a performance variation between calls made using GWT-RPC
We're currently using GWT RPC for serialization on a GWT project but we're currently
I am using GWT and i am making RPC calls to get some data
I am using GWT and RPC in my app. after session expires when I
I created a login page in GWT using widgets and RPC. After succesful login,

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.