Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jta-dev] [EXTERNAL] BEAN and CONTAINER tx management
  • From: Ed Burns <Edward.Burns@xxxxxxxxxxxxx>
  • Date: Mon, 3 Feb 2025 17:53:00 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WENrnsuZJ9Y38/k/eUtKnVaQpYeNs1ol7VP23eQGzLk=; b=bKKrp/D3PFm5IZr4fVBjRJs26P3wRIPk7loNfxRYBfjLMavN8zbEkrTBtz9t2OyliiuzCH/4ezvitgrj+o2kE3H22m7rYDcsoqtRfvRbYGWzhXD+DuH6qB9e9LCmBMoE4Hg6QJcuRAZP2IHbuqsU6yp+Pf5tpc1XGqCYtVXXGtRrDh95zpoCjNRJJvfxSHWbQHqH8kR6pSSrNXWBJBkWiFW6LJukl8J0nSTvfLf9EiHWgqv2Rq6C8gAZAz8Wmdyxo2p+Bv2ZNoX05lmpe6nbopnbFCL+xISzZczDMsMQAbJ2a0DVKel2jp6zEVftk/AZs2PIEhWCsXLkJHUS48LV+A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yHnAaNhwph9kNQayZgffcCWfEkU5kWc0qdpIUM+aiG8gkjLvND0zMI0KP+j/EZ43mNLxEUK2jnBGXCCuSQJNqULhZqoyBXhiQztu9bidPsSV8Nf4O3oGIHPTQH+fAXCSXmDwwqwQ3TIAc2/HhC5ydUEaKChN/iOXcxlbz6Gn7/bZFbhtZ0qp/GPUeH5F3NoZEjPEZqdoxZD83gTsg2APEWHFc2OC6e8/6ubcnxU25Mi+D23NHcH+uMfg9Ai9lUlbYaOQzxg3TYKavw7ABPM3z0VCzZ3a90G49MCgZF4ooDGap9/lMX0yxBsBGKrXwyZkMxzLjZCg71hpWmLdSHncUA==
  • Delivered-to: jta-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/jta-dev/>
  • List-help: <mailto:jta-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/jta-dev>, <mailto:jta-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/jta-dev>, <mailto:jta-dev-request@eclipse.org?subject=unsubscribe>
  • Msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2025-02-03T17:43:19.2116697Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard
  • Thread-index: AQHbdkcVliMjBEUt8U+9Bd3Y4F9U+rM12au3
  • Thread-topic: [EXTERNAL] [jta-dev] BEAN and CONTAINER tx management

Hello @hantsy bai,

We have a fork of CargoTracker that works on EE 11, at Azure-Samples/cargotracker-liberty-aks: Deploy Cargo Tracker to Open Liberty on Azure Kubernetes Service and monitor the application using Azure Application Insights, Azure Container Insights and Azure Log Analytics.

However, I see it still has the same @TransactionManagement annotation. 

A brief dialog with Copilot suggested: "@TransactionManagement can be replaced with CDI's @Transactional for handling transactions." But I haven't tried it yet myself. 

Ed

From: jta-dev <jta-dev-bounces@xxxxxxxxxxx> on behalf of hantsy bai via jta-dev <jta-dev@xxxxxxxxxxx>
Date: Monday, February 3, 2025 at 09:22
To: jta-dev@xxxxxxxxxxx <jta-dev@xxxxxxxxxxx>
Cc: hantsy bai <hantsy@xxxxxxxxx>
Subject: [EXTERNAL] [jta-dev] BEAN and CONTAINER tx management

Hey guys, I was trying to migrate my Cargotracker fork to Jakarta EE 11,  there is an EJB bean marked with TransactionManagement.
@TransactionManagement(TransactionManagementType.BEAN)
What is the equivalent component when moving to CDI beans?

---

Regards,

Hantsy Bai

Self-employed consultant, fullstack developer, agile coach, freelancer/remote worker

GitHub: https://github.com/hantsy

Twitter: https://twitter.com/@hantsy


Back to the top