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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:33:55+00:00 2026-06-11T19:33:55+00:00

We have a J2SE application (we deploy it as a standalone JAR) which is

  • 0

We have a J2SE application (we deploy it as a standalone JAR) which is a Jetty-powered web service, making use of JPA (EclipseLink) and JTA (Bitronix, UserTransaction). As you can guess, the main purpose of this app is to receive REST requests, process, store and provide data to the http clients.

While processing a request, sometimes we generate files on the fs. Sadly, this process is out of the scope of our JTA configuration. I have a task to bind file generation to the JTA transaction, eg. upon utx.rollback() I have to rollback file processing, and upon succesfull utx.commit() I have to commit the fs changes, too.

My senior advised me to use XADisk ( http://xadisk.java.net/ ). Seems very promising! I did some example-reading but I’m still a bit confused on how to introduce this into our app.
So my question: can anyone provide me some guidelines on how to implement this lib into a JTA application? Thanks!

  • 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-11T19:33:56+00:00Added an answer on June 11, 2026 at 7:33 pm

    Going forward on docs hunting, I found some bits of info:

    Tracking issue

    XADisk User Guide

    The latter contains a chapter titled “Enlisting XADisk into JTA Transactions”

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

Sidebar

Related Questions

I have J2SE application running in linux. I have stop application script in which
I have a web application that downloads a jar file from the web server
I have a J2SE program that I'm moving over to use JPA. The existing
I have J2SE application running in 1.5 java VM in RHEL OS. One of
I'm trying to code an application which runs un different java platforms like J2SE,
Currently, I have an application, which will save a temporary screenshot, and let user
How can i fix this error? I have my deploy dist with all jar
I'm using Atomikos essential transactions as my TM in my J2SE application. I have
My java J2SE application is reading a lot of (png) images from the web
I've been tasked with debugging a Java (J2SE) application which after some period of

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.