How to communicate class a and class b , these two classes doesnot have rel
class A
private int a;
class B
private int b;
these two classes doest not have any relation like extends(inhiertance,static method,creating object for class A in class B
Not sure if this is what you are asking, but...
You have jars that reference each other (sounds pretty tightly coupled to me, maybe they shouldn't be in separate jars, but I digress) and each has a manifest file in META-INF, right?
To reference another jar's contents, simply add it to the Class-Path variable in your manifest. Then you can reference the classes as if they were all unjarred and slapped in the same directories.
More Info:
http://java.sun.com/docs/books/tutorial/jar/basics/manifest.html#special-purpose
Tarabyte :)
Similar Messages
-
This is complex. Until today we had one iMac with two user accounts - one for me and the other for my wife. We sync'd our calendars and contacts between our two user accounts using my iCloud account, thereby keeping our schedules coordinated and our contacts information always the same between us. Also, as I had an iPhone, I sync'd my phone with my iCloud account, thereby keeping the contacts and calendars in the two user accounts on the iMac AND my iPhone sync'd. (I also sync'd other things, like Notes and Mail and Safari settings, between my iPhone and my user account on the iMac, but my wife did not want to be burdened with all my emails showing up in her email account and I wasn't interested in hers, etc., so we didn't sync anything between us other than calendars and contacts.)
We've finally bought my wife an iPhone and set up an iCloud account for her. And of course she now wants to sync several items from HER account on our iMac to HER iPhone, but I don't want them, just as she doesn't want all of my other stuff. But we still want our mutual calendars and contacts to sync to HER new iPhone, just like they already do to mine. But I can't figure out how to CHANGE her iMac user account from using MY iCloud account on the iMac to using HER new iCloud account, and then having HER iCloud account speak to MY iCloud account but share JUST our calendars and contacts.
Originally I tried a workaround by simply having her iPhone log into my iCloud account. That works great for the calendars and the contacts. But...she can't sync anything else from her iMac account to her new iPhone because she's presently "forced" to use my iCloud account. And neither of us want to sync our other things to each other's iMac accounts or iPhones. Also as we're both using my iCloud account, in things like the Find My iPhone app, the Cloud is seeking two phones labeled with my name and none with her's. So we definitely don't want this as the set-up and communications network between our devices.
We want to set up our users on the iMac to sync to our SEPARATE AND DIFFERENT iCloud accounts and then have those iCloud accounts sync calendars and contacts (ONLY) between themselves, and then push that data to our separate iPhones (or the other way, from either of our iPhones to the individual accounts on our iMac and the other person's iPhone). Does this description make sense to you? I've diagramed it nicely using Keynote, but even thiough I can draw it, I can't figure out how to set up and configure all the devices to make it work. If you would like me to send the Keynote slides (just two of them - the current and desired configurations - please send your email address to me at [email protected] and I'll be happy to forward it to you.
If anyone can help me set this up I'd be most appreciative! Thanks so much. Merry Christmas and Happy New Year to all readers in this community!BobT.
I had the same problem, and decided to look into it last night.
First of all, the solution I would like to have is for Apple to allow for selection of iCloud accounts per application, i.e. Contacts to one, Photo Stream to another. I believe this would be the most straight forward solution for the problem we are facing.
Since this is not an option I came up with a workaround. I was most interested in solving this for Contacts, so this is what I tested for. Now I have all 3 devices with the same contacts.
1) Turn off iCloud for Contacts on all devices. On the device that has the Contacts list that you would like to propagate to all others select to keep the contacts, and on the others select not to keep them.
Note that the current backups still exist on iCloud, so in case something goes wrong you can still turn the iCloud for Contacts back on to get your current Contacts back.
2) In iTunes, sync All Contacts with the phones, starting with the one with the Contacts content you chose to keep.
From this point on, the 3 devices should sync contacts with each other.
This, of course, will stop your iCloud backups of Contacts, but I don't think this is really needed. You are already storing copies of your Conacts on 3 devices, which for good parts of the day are likely not all co-located. You also potentially have Time Machine backups turned on, which would mean there is a 4th copy there as well. For the case of Contacts iCloud only complicates matter ... that is until Apple implements the solution I first wrote about. -
i keep getting the incoming messagrs bar appearing under mail activity and all my old emails start to fill my inbox.Why and how do i stop this and how do i permanently delete old e mails?
Maybe this will help:
https://discussions.apple.com/message/21026706#21026706 -
How can I enlarge print and make it permanent so don't have to redo each time go to webpage
when used internet explorer I changed text to little larger and it stayed there. Didn't have to change each time went to a webpage. How can I do this on firefox or if not need to know that
See this:
https://support.mozilla.com/en-US/kb/Page+Zoom
The Firefox Page Zoom feature does a domain by domain level of saving the users preferred zoom level settings, there is no default Page Zoom level setting in Firefox.
Try the Default FullZoom Level extension: <br />
https://addons.mozilla.org/en-US/firefox/addon/6965
Or the NoSquint extension: <br />
https://addons.mozilla.org/en-US/firefox/addon/2592/ -
How to compare the names and types columns of two tables?
Assume I have two tables aaa and bbb
How do I compare the columnnames and types of the two columns?
It should not matter if one of them has e.g. an additional index.
Furthermore it does not matter if the rows/row values differ.
PeterSQL> desc emp
Nome Nullo? Tipo
EMPNO NOT NULL NUMBER(4)
ENAME VARCHAR2(10)
JOB VARCHAR2(9)
MGR NUMBER(4)
HIREDATE DATE
SAL NUMBER(7,2)
COMM NUMBER(7,2)
DEPTNO NUMBER(2)
SQL> desc emp2
Nome Nullo? Tipo
EMPNO NOT NULL NUMBER(4)
ENAME VARCHAR2(10)
MGR VARCHAR2(10)
HIREDATE DATE
SAL NUMBER(7,2)
COMM NUMBER(7,2)
DEPTNO NUMBER(2)
NEWCOL NUMBER
SQL> with t1 as
2 (select column_name, data_type from user_tab_columns where table_name='EMP'),
3 t2 as
4 (select column_name, data_type from user_tab_columns where table_name='EMP2')
5 Select a.column_name, a.data_type, b.column_name, b.data_type
6 from t1 a full outer join t2 b on a.column_name=b.column_name;
COLUMN_NAME DATA_TYPE COLUMN_NAME DATA_TYPE
EMPNO NUMBER EMPNO NUMBER
ENAME VARCHAR2 ENAME VARCHAR2
NEWCOL NUMBER
MGR NUMBER MGR VARCHAR2
HIREDATE DATE HIREDATE DATE
SAL NUMBER SAL NUMBER
COMM NUMBER COMM NUMBER
DEPTNO NUMBER DEPTNO NUMBER
JOB VARCHAR2
Selezionate 9 righe.Max
http://oracleitalia.wordpress.com
Edited by: Massimo Ruocchio on Feb 21, 2010 1:27 AM
Changed query. -
How to Communicate between servers and Overwrite the file
Hi,
I have this application where in a config file is modified as per the data entered by the user through some jsps.
Also, this application is also loaded on other server which may act as backup when the primary goes down.
Now,my issue is:
As soon as the file is modified i want to overwrite all the backup files on other backup servers, so that sync is maintained between all the files on all servers.
i guess the communication between primary & backup servers could be done using RMI.
I have gone through RMI tutorial & few examples on RMI but i'm not very clear where exactly the interface,impl and client program goes.
i mean how does this actually work in a real time.
Please could anybody shed some light on this.I would really appreciate.
Thanks!Hi all can some one please give a solution ...Any suggestions would be greatly appreciated
-
Please help!! How to communicate between applet and pop up dialog box
Hi friend,
I have done a AWT pop up dialog box from Applet. In this pop up dialog box, I want get user name, and display on an Applet, anyone can tell me how to do? Thanks a lot!!!!
AlvaYou need to create two methods in your applet, getName and setName as well as a name field.
private name = "";
public void setName(String n)
name = n;
public void getName()
return name;
}The various constructor methods for Dialog already take the owner of the Dialog (your applet) as a parameter, so in your applet's ActionEvent handler, all you have to do is call
name = textName.getText().trim();
owner.setName(name);Yes, it's that easy. -
How to communicate between Flex and JSP and show the result in an Iframe
Hi all
I am trying to send some data from flex to one HTTPService and trying to show the same response jsp in an Iframe. But unfortunately i am unable to get the responce Jsp's url to set as a source for iframe.
let me explain you clearly...I have a mxml where i am having a text box and a button in the left panel and in the right panel i am having an Iframe to display jsp. So once user enters some value in the text box and clicks button then HTTPservice's send method will be called with text box's content as an arguement. So i can fetch that value from request object in jsp and display the value in jsp. So the problem here is i want display that result jsp in my Iframe. I know that , we need that result jsp URL to display in Iframe . But as i am sending POST request to HTTPservice, i am not able to get the result jsp's URL in flex side.
So i need help desperately from great minds.So anyone of you can give me some suggestions!!!!
RegardsHi all can some one please give a solution ...Any suggestions would be greatly appreciated
-
How to split presentation level and business level using two ATG instances
Hello All!
We are investigating possibility of splitting ATG presentation (web store with jsp pages and other presentation components) and business (ATG components such as Pricing, Catalog, etc.) levels. The first idea that we have is simply start two instances of ATG. One instance will serve client requests (presentation level) and communicates with another ATG instance (business level) where all ATG components are situated.
The main problem is a Nucleus container which is used for accessing all ATG components. And we don't know right solution how to point to a Nucleus container that is situated on a remote ATG instance. Right now we have two ideas how to establish communication between two ATG instances:
- try to replace local Nucleus container by remote one using RMI;
- do not replace Nucleus container by implementing some custom filter that can redirect all servlet requests to another ATG instance. In that case we will have two Nucleus containers.
What do you think about all this? Do you have any other solutions how to solve the task? Maybe we lost something? Can we deploy a cluster of ATG instances that will communicate between each other?
Thanks in advance.
Andrey.
Edited by: 945758 on Jul 11, 2012 7:00 AMYes ATG system can have multiple nodes grouped in one or more clusters managed by load balencer
If the services you are talking about are inherently ATG services like login, add to cart, checkout then its better to implement it with ATG.
ATG provides and support both REST and SOAP based Webservice and allows you to expose any ATG component as service thus making it available outside ATG space.
To be able to manage load better you can split your servers to page serving servers and services oriented servers and place them into multiple clusters.
Though I haven't seen anyone using this kind of topology so not sure whether it's there is any challenge in setting up this topology. -
How can I merge bookmarks and saved passwords from two computers onto one computer?
Before I got rid of my old computer, I backed up my profile folder on a thumb drive. Then, I got a new computer and started customizing firefox, adding bookmarks and new saved passwords, without ever uploading my passwords and bookmarks from my old computer 's profile. How can I add the bookmarks from my old computer's profile folder onto my new computer's new firefox profile?
That is about saving your current bookmarks to an HTML file because you would lose those when you restore a JSON backup from the backup.
*Bookmarks > Show All Bookmarks > Import & Backup > Export Bookmarks to HTML
*Bookmarks > Show All Bookmarks > Import & Backup > Import Bookmarks from HTML -
need info on downloading ringtones on my iphone 5 i go to itunes and search but only get ringtones not ringback tones
This is a carrier feature not an iphone feature.
Ask your carrier how to get ringback tones. -
I have bought an iPhone 4 from my sister. How do I reset it (delete her contacts) and load my contents etc?
Settings > General > Reset > Erase all content and settings
Then set the device up from scratch using your data - either sync with your computer via iTunes or iCloud. -
My ipod touch has just started to archive my emails rather than delete them. Is this the same thing? If not how can I get it back to normaland just delete unwanted emails at my request? hope someone can help, thanks and kind regards, Jane (france)
This previous discussion may help:
https://discussions.apple.com/message/17052802#17052802 -
How to square up texts and flow through these pages ?
Hi!
I have to square up and shading numerous paragraphs of different loguitudes in Indesign CS6 .
These have them identified in the xml for tag
Often there tour of pages in second tests so I thought convert a table but not if it is the best solution because no party cells and lose a lot of time adjusting the pages so you are not left me out of square .
Can you think of any other solution that does not require much manual work ?
Thank YouHi
I am not sure about your question 1 exactly (may be you can elaborate) but you cannot probably track that information module wise.
For the second question, you can count the number of httpd processes in 11i and get a estimate of how busy the system is . there wont be one to one mapping between client and application server connections but you can check the access logs if you are troubleshooting an issue.
MSK -
The question is in the title...what do I do now?
Try resetting it: push both the power/lock button and the home button at the same time until the Apple logo appears
Maybe you are looking for
-
How Can I Get My Printer To Print An Entire Record?
When I try to print an entire récord, my HP sprinter only prints the upper porcino of the récord and cuts off the bottom portion. How can I get the entire récord printed?
-
Progress Bar for Web -- cr version 13.0.7.1136
Hello All.. The report is taking few seconds to display output.,So, i want to show progress bar while loading!! I've found couple of threads answering this question here but those seems to be old and i could not understand where those are being point
-
Dial plan: Can we change the redirect number (sip-sip)?
Hello Scott Page/Alexei/Dirk Anyone. I have a question on dial plan: Call flow: A---cucm----pgw----voicemail B-----| Its a sip to sip call, what i need to do is change the redirect number or rather add a digit to the redirect number at
-
Rule table error in OPM 10.4
Hi, I converted a rulebase from 10.3 (no errors) to 10.4. Conversion was successful. However, I received an error during compilation in a rule table, saying "Error: 0 is not a valid text for identifying attribute <attribute name>" and "Error: Instanc
-
Hi All, I am facing a weired problem in my webpage. I am having a html page, which embeds the windows media player object and one banner ad. This banner ad i am getting from another vendor. In my page i have to call this ad like the below code. <scri