Sitemap

Amicuk Programming Answers

Using an object in distributed env

-0001-11-30   Views:0

Advertisement

Hi, We developed an IMAP based application in single server JBOSS env. we are using a hashmap to store some information which shall be used by all the users of the application. Now we have to convert the application to distributed JBOSS (on different

Hi,
We developed an IMAP based application in single server JBOSS env. we are using a hashmap to store some information which shall be used by all the users of the application.
Now we have to convert the application to distributed JBOSS (on different jvm's), please tell me what is the best approach to access the above hashmap from two JBOSS instances.
Thanks

The replay answer
Advertisement
If you doType name1 = new Type(true);
Type name2 = new Type(false);
and1 = new LogicAnd(name1, name2);Your object references will look like this:           ---------
           |  -----|
name1 -----+->|true ||
           |  -----|
           |         |
           |  -----|
name2 -----+->|false||
           |  -----|
and1 ----->|         |
           ---------Now if you'd assign a new value to "name2", by doingname2 = new Type(true);Your object references will now look like this:           ---------
           |  -----|
name1 -----+->|true ||
           |  -----|
           |         |
           |  -----|
           |  |false||
           |  -----|
and1 ----->|         |
name2 ------->|true |
              -----Note that the old false Type will still be in "and1", and that "name2" will just get a new instantce of a Type object assigned to it.

Go to See the other 10 answers

Using an object in distributed env

Category:DefaultRelease time:-0001-11-30Views:130

Hi, We developed an IMAP based application in single server JBOSS env. we are using a hashmap to store some information which shall be used by all the users of the application. Now we have to convert the application to distributed JBOSS (on different[More]

Set up profile and object to distribute report

Category:DefaultRelease time:-0001-11-30Views:130

I am getting error Object not found when I created a profile and object to distribute one report to different groups based on the city. However, when in the test mode, it event didn't send to myself who is the administrator. The process to create the[More]

Limitation on number of objects in distributed cache

Category:DefaultRelease time:2015-10-11Views:130

Hi, Is there a limitation on the number (or total size) of objects in a distributed cache? I am seeing a big increase in response time when the number of objects exceeds 16,000. Normally, the ServiceMBean.RequestAverageDuration value is in the 6-8ms[More]

Transport & Management of XI Objects in diff Env.

Category:DefaultRelease time:-0001-11-30Views:130

Hi Currently our System landscape is having ONE DEV SAP R/3 Server, ONE TEST SAP R/3 Server with 4 clients and ONE PROD SAP R/3 Server & ONE SAP XI DEV Server and ONE SAP XI PROD server. I integrated DEV & TEST ( 3 Clients ) SAP R/3 Servers with N[More]

ORA-00164 Autonomous Transactions in Distributed Env

Category:DefaultRelease time:-0001-11-30Views:130

Hi, We are on 8.1.7 on AIX. We get ORA-00164 when we attempt to call an Autonomous transaction procedure whilst the main transaction has read a remote table. In 8.1.6.0.0 this used to check us out with Ora-600, In 8.1.7 it gives error 164. I have rea[More]

XML Messaging in Distributed Env.

Category:DefaultRelease time:-0001-11-30Views:130

Hi We are about to start a big project, which needs a web application to process 30-40 different XML message types and reply back the messages in both synchronous and asynchronous way. There are around 10 other system involved, which will send and re[More]

Distribute eps objects with file list and quantity

Category:DefaultRelease time:2015-10-11Views:130

Hello everyone, Here's a script i wrote so I share it for the contribution. Here's my purpose. Every year, for a customer of our company, we have to print several description plates for their products. They give us about 30 or more texts, traduced in[More]

Aligning and Distributing objects in InDesign

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I am using InDesign CS4. But I am having a trouble aligning objects. I know that in illustrator it is possible to align objects to a main object. For example, lets say I have several same square shapes on my page. I can make any one of the square[More]

Distributed transactions, distributed objects

Category:DefaultRelease time:-0001-11-30Views:130

An observation and a conjecture about distributed transactions and distributed object references: Distributed non-service object references are persistent, and a transaction can, in principle, propagate to the distributed object through a method call[More]

Align and Distribute Objects Evenly around a Circular Path

Category:DefaultRelease time:-0001-11-30Views:130

How do I align objects and distribute evenly on a circular path? Especially if the objects are straight lines and I want them to be placed vertically and evenly around a circle. For example, the hash marks on a speedometer are vertical lines, but dis[More]

What are administered objects

Category:DefaultRelease time:-0001-11-30Views:130

Examples of administered objects are apparently JMS destinations and connection factories, but what exactly are they? Can anything "managed" by the container be called an administered object (e.g. EJBs, DataSources, etc)? resource-ref is used to[More]

Hot
Please someone help me....ever since I put my music "in the cloud", I can't seem to listen to all of my music on my ipod unless I am connected to wifi....I'm not an iCloud user (or different type of "in the cloud" user) but you need th [More]
I have some Hyper-V server based on the free version (Windows Hyper-V 2012). I want to upgrade to the new version (Windows Hyper-V 2012 R2). So I begin to test it with an already working server (aka I was able to totally manager the server remotely w [More]
Hi, I'm having trouble figuring out how to set up an extended desktop onto another monitor using my iMac G5, 1.8 GHz. Mirroring the desktop is fine, and the help screen says that if there's no "Arrangement" option, then it won't be able to set u [More]
I'm confused as to the procedure of transferring a large amount of photos and videos from my iPad Mini (iOS 8) to my iMac (latest Yosemite OS) without using wifi or Bluetooth or uploading to iCloud - I wish to transfer the files using a simple USB co [More]
Hi there, I found when searching older threads about the same problem but no solution. I have also an ALV program and have registered the event TOP_OF_PAGE (NOT PRINT_TOP_OF_PAGE). The event ist not fired and not processed. As other peoples programs [More]
After importing some photo images from a CD and beginning to edit (red eyes) a few of them, *iPhoto hung up* with the spinning ball. So, I tried to close the application and even shut down the iMac without success. Eventually, I just shut down the iM [More]
Hi Experts, I am new to MM & CIN. The existing process of my client in aspects of Import purchase are as follows: 1. Purchase order against import vendor 2. MIRO raised against Commissioner of Customs - Payment of Import duties. 3. MIGO 4. MIRO again [More]
Hi Experts Please guide the steps how to change the payment terms in the invoice list Thansk in Advance.Hi, As far as my understanding U can not change Payment terms in INVOICE or even in INVOICE LIST, Try through Transaction varient or screen varien [More]
The source I included below is a part of my program which reads input from the DOS console. I am interested in GUI so can anyone help me in this? case 1:                                     System.out.println("Patron ID: " +id);                  [More]
Hello, First time here... I would like to know if there is a way to convert a text string from cyrillic to latin. Should I use a function? Edited by: user12099545 on 2009-10-22 5:38I have insufficient privileges to create the function so I'm going to [More]