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
Dear sir On my XP I TRY TO RUN REPORT WITH REPORT SERVER I GET ERROR ERR:41213 , CAN YOU HELP ME , HOW TO INSTALL REPORT SERVER IN ORACLE 9I REPORT WITH XPHello, Test to start the Reports server from a "DOS Window" : rwserver server=repserver (r [More]
Hi All,       I am sending a smartform output through email and fax.I am using standard texts for displaying the header texts in polish language.When it's in the preview it shows perfectly,when converted to PDF special characters are not displayed. W [More]
Hi All, I'm working on a report which is like a dash board, it is a summary report which has many columns eg: coffee, chocolate etc. These summary columns i.e chocolate coffee etc have scorecards which is the detail of the summary. the requirement is [More]
When I launch Firefox the browser window opens as expected. However only the toolbar, bookmarks and search bar are displayed. There is no browser window display, it is simply not there. In other words there is no way for me to see the internet using [More]
Hi, I'm doing my first steps into Oracle BI and came now to the point to design a Business Model. My star schema model is defined and implemented with OWB. It contains dimensions with two ore more hierarchies, using partially the same levels and spli [More]
After the latest Office 2011 for Mac update, I have not been able to start Word, Excel, or Powerpoint.  Outlook for some reason is ok.  After going back and forth with Microsoft, I have discovered that I can open these programs if I have created a ne [More]
Hi WDA Gurus,    I am developing a WDA Application which has a table display of orders and contracts, I want to call VA02, VA03 and VA01 to manage this list from SAP, I am able to pass this as a URL in LinkToURL and open a new browser window. I am al [More]
My security code is all the sudden not valid.  It was working one day and the next day I'm told that my security code in invalid.Launch the Console application in any of the following ways: ☞ Enter the first few letters of its name into a Spotlight s [More]
Anyone seen this.... A signature I've used forever now wraps really strangely when it is automatically put in. If I then manually select another signature and then my normal one, everything is fine. Driving me crazy, though -- I now have to perform t [More]
Hello  All             I am almost confused with all methodology that Labview have to host the Top Level front panel in Web browser. My requirement is to  Monitor and control the Front Panel from remote location using web browser, but without install [More]