Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

RAC interconnect and crossover

alex pFeb 3 2009 — edited Jun 30 2012
Let assume that we have only 2 nodes in oracle cluster.
What is better for interconnect:
Crossover or network with switch and why?

Thank you.

ps. we have dispute with 2nd DBA.
This post has been answered by Markus.Michalewicz-Oracle on Feb 5 2009
Jump to Answer

Comments

john16384
The docs donot say anything about the resource management done by Stages. Comparing it with Swing is useless since they're completely different.

The reason for dispose() in Swing was that even when your code does not refer to a JFrame anymore, there are still native resources which refer to the JFrame which will keep it from being garbage collected. Dispose() releases those resources.

In JavaFX the distinction between close and dispose is probably no longer needed because using weak refs they can track when the Stage is no longer referenced anymore and then release all resources associated with it (if it works that way at all).

So, close() would 'hide' the Stage, and when it gets garbage collected an automatic 'dispose' occurs. If Stages needed any further special treatment I would expect a mention in the docs.
shakir.gusaroff
Hi. The JavaFX lifecycle is different than the Swing lifecycle.
In JavaFX when you close the last window or the application calls Platform.exit() the JavaFX runtime calls Application.stop()
to prepare for application exit and destroys resources.
For more info take a look at: http://docs.oracle.com/javafx/2/api/javafx/application/Application.html
952782
Thanks guys.. you both are right! well atleasat!
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 28 2012
Added on Feb 3 2009
10 comments
4,397 views