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
Hallo all, i have just upload a Kapro document from SAP Content repository and hang it up in a record, and i want update that record (infotype) , can anybody show me how to update an infotype, kind regards Jimy Edited by: jimkim on Nov 16, 2009 11:49 [More]
Hi, I created an ALV report. It has a field which will display the calculated value as '103,839,389'. This should be dispalyed as '103,839,389.00' with decimal value, I mean with 2 decimal places, how can this be achieved? Thanks, Kumarhi check this. [More]
My question is this:  We purchased 20 licenses of Lion through the Volume Purchase program.  2 of the users installed it first doing an upgrade - now they have decided they want to do a clean install.  How can they do a clean install - I can't give t [More]
Hi all, I am doing CSC migration, from 10.0.3 to 10.1 version. But when I try to access agent UI, I am getting this error: **** Error     Thu Jan 31 17:28:44 BRST 2013     1359660524099     /atg/dynamo/servlet/pipeline/RequestScopeManager/RequestScop [More]
HI,      I'm receiving this error in ecatt: Start Procedure with Errors Terminated According to Start Options (V) Error in eCATT function SAPGUI Error in SAPGUI Command Occurred. Due to the Start Option Settings of the Error Someone have an idea of w [More]
How can I edit a post that I made?Hi Matt. There is only a very short window of time to edit a post (15 minutes). However, I have spotted your other post and requested a moderator to edit out your contact info.Read other 6 answers [More]
Hi I have a scenario where the esso logon manager anf provisioning gateway clients are installed on the D drive of a client pc.This is due to the fact that a new batch of HP laptops have their system partition as C drive and their windows partion as [More]
so i thought that i had to insert a payment methode even if i just wanted the free apps but then i heard from my friends that they didn't had to do that and they still get their apps...? please help this is really gettig me nerveous ...You need a pay [More]
I create a table---CourseDB in adatabase to store the Student ID ( student identification number) and the grades of the courses that they took. The structure of the table---CourseDB is: StudentID GradeofCourse1 GradeofCourse2 GradeofCourse3 GradeofCo [More]
Can anyone help me?See Here.  Apple ID: Contacting Apple for help with Apple ID account security Ask to speak with the Account Security Team...   Or Email Here  >  Apple  Support  iTunes Store  Contact AlMc6 wrote: ... had to open a new apple id, but [More]