question about an object in java

If I have
1.class Fizz { 
2.    int x = 5;
3.    public static void main(String[] args) {       
4.        Fizz f2 = new Fizz(); 
5.        System.out.println("f2 is " + f2);    
6.    }
After printing, the result is
f2 is Fizz@3e25a5
Should it be
f2 is Null
My logic is when line 4 is executed, the manufacturer (super) will be invoked and it initialize f2 with a NULL value. If my logic is not sacred, correct me please. Thank you.

The Java API for the toString method:

 The toString method for class Object returns a string consisting of the name
of the class of which the object is an instance, the at-sign character `@',
and the unsigned hexadecimal representation of the hash code of the object.
In other words, this method returns a string equal to the value of:

     getClass().getName() + '@' + Integer.toHexString(hashCode())
     

Published by: Darryl Burke - divide a long line within the tags of code in 4 lines

Tags: Java

Similar Questions

  • Question about oracle objects

    Hi people

    I came across the below example on the oracle documentation.

    I'm not quite sure why "emp is NULL #2' always get printed even if the Member attribute is assigned a value that should be non-NULL and" ""emp is NULL #3"isn't even after printing has been assigned to the object with a NULL value."

    Can one of you you please explain about it. or give the overview of the conditions of the NULLable object. Thank you!!

    DECLARE

    EMP employee_typ; -emp is atomically null

    BEGIN

    If emp IS NOTHING THEN DBMS_OUTPUT. Put_line ("emp is NULL #1"); END IF;

    IF emp.employee_id IS NULL THEN

    DBMS_OUTPUT. Put_line ("emp.employee_id is NULL #1");

    END IF;

    EMP.employee_id: = 330;

    If emp IS NOTHING THEN DBMS_OUTPUT. Put_line ("emp is NULL #2"); END IF;

    IF emp.employee_id IS NULL THEN

    DBMS_OUTPUT. Put_line ("emp.employee_id is NULL #2");

    END IF;

    EMP: = employee_typ (NULL, NULL, NULL, NULL,

    NULL, NULL, NULL, NULL, NULL, NULL, NULL,

    address_typ (NULL, NULL, NULL, NULL));

    -emp: = NULL; -It would have made the following statement of the TRUE IF

    If emp IS NOTHING THEN DBMS_OUTPUT. Put_line ("emp is NULL #3"); END IF;

    IF emp.employee_id IS NULL THEN

    DBMS_OUTPUT. Put_line ("emp.employee_id is NULL #3");

    END IF;

    EXCEPTION

    WHEN ACCESS_INTO_NULL THEN

    DBMS_OUTPUT. Put_line ('impossible to assign object NULL value');

    END;

    /

    The result is:


    EMP is NULL #1
    EMP.employee_id is NULL #1
    EMP is NULL #2
    EMP.employee_id is NULL #3

    I came across the below example on the oracle documentation.

    I'm not very sure why 'emp is NULL #2' always get printed even if the Member attribute is assigned a value that should be non-NULL and ' emp is NULL #3 "is not get printed even though the object is assigned to null."

    Can one of you you please explain about it. or give the overview of the conditions of the NULLable object.

    Have you actually tried this example? Why not?

    The best and often faster, learn is to DO - not just read.

    If you tried this example, you would see that you have been "bitten" by a documentation bug.

    EMP.employee_id: = 330;

    That the line of code won't work - it will trigger an exception is the output you get really

    PEM is NULL #1

    EMP.employee_id is NULL #1

    Can't assign value to the NULL object

    PL/SQL procedure successfully completed.

    SQL >

    The 'emp' instance has the value NULL as shows it the first message. If you cannot assign the 330 value him.

    For others, the example seems to be the Oracle documentation

    http://docs.Oracle.com/CD/B19306_01/AppDev.102/b14261/objects.htm#CIHEJIBA

  • Question about l ' object net.rim.device.api.ui.Screen

    Hello world

    I have a class that accepts an object of type "Screen" (net.rim.device.api.ui.Screen) in its constructor. When I instantiate this class, I include a class that extends the screen as a parameter. For example:

    public ClassA extends MainScreen {
         public void tester(){
              ClassB classB = new ClassB(this);
         }
              public void sampleMethod(){        ...     }}
    
    public ClassB {
    
         Screen screen;
    
         public ClassB(Screen screen) {
              this.screen = screen;
         }
         public doStuff(){          screen.sampleMethod();     }}
    

    My problem is that ClassB calls methods that are placed, but unless I change type "Screen" in the "class A", I receive the error: "the sampleMethod() method is not defined for the type of screen.

    How can I me ClassB to accept different classes that extend screen?

    Thank you!

    "each screen implements a SampleMethod() interface.

    Then could ClassB looks like this?

    public ClassB {}

    SampleMethodInterface screen;

    public ClassB (form SampleMethodInterface) {}
    This.screen = screen;
    }

    public doStuff() {}
    screen.sampleMethod ();
    }
    }

  • Question about clicking object behind a mask effect

    First of all, sorry for the title of indescriptive, couldn't really think of anything.

    Okay, so I want an effect to my Flash project. Basically, I have a black background and a simple mask effect that follows the mouse, if you move the mouse and it shows you the layer behind the black background... The script looks like this:

    color_mc. Mask = mask_mc;

    mask_mc.cacheAsBitmap = true;

    color_mc.cacheAsBitmap = true;

    mask_mc.addEventListener (Event.ENTER_FRAME, moveMask);

    function moveMask(e:Event):void

    {

    mask_mc.x = mouseX;

    mask_mc.y = mouseY;

    }

    And it works very well, but it's not all that I intend to do. In short, the user must move the mask using the mouse and find several colorful objects hidden behind it (it works very well), so I want to do all the clickable object and I want the object to change forms when they are clicked on. I'm pretty new to Flash, but I fiddled around with it and could not get to a solution that worked.

    I tried labeling different frames on the timeline. "color1", "Color2" and then by a

    color_mc.Color1.buttonMode = true

    color_mc.Color1.addEventListener (MouseEvent.CLICK, COLOR1);

    function {(e:MouseEvent) COLOR1}

    gotoAndPlay ("color1");

    }

    So go to this image, but this probably isn't the right way to do it, because the mask effect no longer works (I even tried to copy the action on the framework "color1" script), and I think that if you had clicked on the "color1" first object, and then the "Color2" object after

    I think that he would turn the "color1" action (but I'm not sure)

    * Note * color_mc is the background with objects on I want clickable and objects are called "color1", "Color2" etc.

    Oh and one thing I would also like to recognize when all objects are clicked and then move on to a new frame/scene.

    Sorry, if I could not explain it correctly; as I said I'm not experienced in Flash and I would be really grateful if someone could help me. If there is anything you want to know or if you want to see my flash file, let me know.

    use:

    Import fl.transitions.Tween;

    Import fl.transitions.easing.None;

    color_mc. Mask = mask_mc;

    mask_mc.cacheAsBitmap = true;

    color_mc.cacheAsBitmap = true;

    mask_mc.addEventListener (Event.ENTER_FRAME, moveMask);

    function moveMask(e:Event):void {}

    mask_mc.x = mouseX;

    mask_mc.y = mouseY;

    }

    var t1:Tween;

    var t2:Tween;

    var colorNum:int = 5;

    var numClicked:int = 0;

    for (var i: int = 1; i<>

    color_mc ['color' + i] .buttonMode = true;

    color_mc ["Color" + i] .addEventListener (MouseEvent.Click, tweenF);

    }

    function tweenF(e:MouseEvent):void {}

    T1 = new Tween(e.currentTarget,"scaleX",None.easeNone,1,1.5,.5,true);

    T2 = new Tween(e.currentTarget,"scaleY",None.easeNone,1,1.5,.5,true);

    e.currentTarget.mouseEnabled = false;

    addChild (MovieClip (e.currentTarget));

    e.currentTarget.x += color_mc.x;

    e.currentTarget.y += color_mc.y;

    numClicked ++;

    {if(numClicked==colorNum)}

    Stop ("framework");

    }

    }

  • Question about the object

    public class Testing{
    public void status(Object d){
    System.out.println("object is called " + d);
    }
    
    public  void status(String s){
    System.out.println("String is called " + s);
    }
    
    public static void main(String[] args){
    Testing a = new Testing();
    a.status(null);
    }
    }
    Output : String is called null

    No doubt: I can't understand how including compiler to call status method with the String argument and not the one with the Object.Even argument if he did then why NullPointerException was not thrown during execution, since printing System.out.println ("the string is called" + s), it will call the method toString() on s and since it is null it should throw a NullPointerException.

    Any clarification on this is much appreciated.

    isocdev_mb wrote:
    I'm not clear on the method resolution (perhaps something on the more specific signature)

    NULL is considered as to be more precise in the hierarchy, so if you have overloaded methods where first one takes object, the second takes Foo (a subclass of object) and third takes the Bar (subclass of Foo), then one with the setting Bar would be called.

    But if you have a parameter Object and two methods with the subclasses of object as parameters, you will get a compilation error because specific to one can not be chosen.

    does not imply an invocation of toString(). s is a string already

    Nothing implies a call toString(). The method that is called is String.valueOf (param Object), which returns "null" when given null. No NPE, no problem.

  • A question about script objects

    I placed a script object in my form to control the color of the field and it works very well in Adobe Reader X but not in earlier versions of the reader and not in Acrobat pro 9.

    Can someone tell me what is the problem?

    The script object looks like this:

    form1. #variables [0]. RGA_format - (JavaScript, client)

    function RGA_colorOld()

    xfa.resolveNode("this.ui.#textEdit.border.fill.color").value = '220,220,220';

    function RGA_color()

    xfa.resolveNode("this.ui.#textEdit.border.fill.color").value = "255,255,255";

    And name fields on the docReady event and the event of modification of this script:

    Form1.blanketB.moder.EftNvnMor::docReady - (JavaScript, client)

    RGA_format. RGA_colorOld (the);

    Form1.blanketB.moder.EftNvnMor::change - (JavaScript, client)

    RGA_format. RGA_color (the);

    Kind regards

    Kirstine

    Hi Kirstine,

    When you call the function, you pass through the object as a parameter. However the function in the script object doesn't have a setting to receive this.

    You can probably get through the object as a reference:

    RGA_format.RGA_color(this);
    

    However I prefer to declare a variable first and pass through:

    var fieldObj = this.somExpression; // declare a variable to be passed into the function
    colourControls.fieldGetsFocus(fieldObj); // calls the function "fieldGetsFocus" in the script object "colourControls"
    

    Notice in the example, I have, when you declare the function, I have a 'fieldObj' parameter, to receive the information that is passed through.

    function fieldGetsFocus(fieldObj) // first function
    {
         ...
    }
    

    A small point on the function in the script object. I know that the function is a single line, but I'd rather see this wrapped in braces.

    Finally changing the fill requires access to the properties of the user interface. They are different for each type of object. For example, the script that you have is for a textfield. This does not work on a numericfield.

    I have an example here of a function that does what you are looking for: https://acrobat.com/#d=XGj9UEk4lSbDSoArnQU8dQ. Note how to check what is the object and then resolve the correct ui property. What makes the more reusable must function.

    Hope that helps,

    Niall

    Ensure the dynamics

  • Question about converting objects in number

    This may sound a little silly, but I have a function that converts an object into a number and then checks if it is NaN to make sure that it is indeed a number, it returns true if it is a valid number, or false if it is not a number

    Now I have a TextInput and when I type for example 'HELLO' and call the function will return false (since it is not a number), if I type 23 it returns true (it is a number), if I hit 20 'a', it returns false. Everything works well except for a combination, if I type any number and the letter 'e', for example, 2nd, 9th, 5th, etc., it returns true, which means that it is a valid why number, is it?

    You can validate the number against a regular expression:

    /\d+(\.\d*)?/

    I think I have this right,
    Tim

  • Questions about scripts in ai2

    Hello

    Two questions about the new install script.

    (1) where to find documents on the "object model" which is available for use during the writing of scripts. There the Javadocs available to all classes, getters, setters, etc that can be used?
    For example, I want to write a custom rule to detect foreign keys "without columns. For some reason, this error occurs during generation DOF, but I have not found a standard rule of prior design detect these problems before the generation of DDL. So, I'm interested in knowing how to navigate through the object model to create a rule of mine (IE is it a table.getFK (.getColumns ()) use?).

    (2) is it possible to use Groovy as a scripting language? If Yes, does anyone have the docs (or even draft notes) on how join as a script engine in the Data Modeler?

    Thank you, BP

    Hi BP,.

    to detect foreign keys "without columns. For some reason, this error occurs during generation DDL

    What version did you use to create these cases? There was such a problem in one of the pre-production versions published two years ago.

    Meta definitions, you can watch datamodeler\datamodeler\xmlmetadata directory.
    In fact, it is preferable to define the rule of index/constraint - you will get a clue that is used to represent the PK, UK, the FK constraints and indexes.
    So for your rule, you select index/constraint as object and the next Java scrip will be your rule:
    var index;

    {if (index.isFK () & {index.getElements () .length == 0)}
    fake;
    } else {}
    true;
    }

    If you remove index.isFK (control) then the rule will be valid for all PK, UK, the FK constraints and indexes.

    For script engines - you can start here - https://scripting.dev.java.net/
    I see groovy is supported - http://groovy.codehaus.org/JSR+223+Scripting+with+Groovy
    How to install it - you can follow the instructions in the first link above, it's much easier just to copy related jar in the "ext" directory - for groovy I copied "groovy - 1.7.5.jar" (I downloaded 1.7.5 version)
    in the "D:\jdk1.6.0_20\jre\lib\ext" directory on my computer. You must restart the Data Modeler - I engine script groovy as a choice in the engine drop-down list box.

    You must test how Groovy will return true or false for the Data Modeler - generally ordinary (not library), it is strange that you see in the example. If the library is used then the standard return is used.

    Philippe

  • question about stacked sequence

    Hello

    I have a question about stacked sequence.

    I have a stacked with 5 sequences sequence (0,..., 4). I would like to run these as this form

    0, 1, 2, 1, 3, 1, 4, 1 then again 0...

    I don't want to duplicate the section 1 because it contains many objects, variable... One possibility would be to out objects and then duplicate the sequence and use of shift registers, but I don't want to use because in 1, I have some graphs in real time to draw...

    Will there be another (easy) way to do this?

    Thanks for the ideas,

    Concerning

    Why use a stacked sequence?  What you want is a state machine something like this

  • A few questions about FileConnection/JSR 75

    [I posted these issues some time ago, but got no response]

    I am writing an application that targets the 4.2.1 and upward. After reading everything I can find (api docs, forum, kb, guides, web search), I still have many questions about the BlackBerry file system:

    1. Are store / and SDCard / internal name of the memory and the SD card root on all BlackBerry devices?
    2. JSR 75 leaves open the question of whether an application sees the virtual roots that are private to itself or if all applications share the same roots. How does on BBs? I have seen many examples where the path name starts by "/ store/home/user/app_name /" or "/ SDCard/BlackBerry/app_name / '. Is this necessary, or can my request simply use "/ store /" or "/SDCard/" and add the file name? If the former, are there best practices documented anywhere to manage collisions between app names?
    3. If the files are visible in many applications, there are layers of security available to protect data (I think something similar to how a PersistentObject can be encapsulated in an object ControlledAccess using the PersistentStore) or do make us our own?
    4. I read on this forum somewhere that store / is not available when a device is connected via USB and mass storage is active. Is this and other information like this documented somewhere?
    5. May restrict the COMPUTER strategies how an application uses FileConnection, particularly to the store / and SDCard /? If so, is there any guidance on common restrictions that developers should know when you write applications for general use?
    6. What restrictions are there on the names of files (allowed characters, length, etc.)?

    Any guidance or pointers will be appreciated!

    Hi Ted,

    I'm not sure on your remaining questions, but I'll try to answer as best I can:

    1. did not have different names on the devices until today.

    2. you have no problem on SD card and you are allowed to save files anywhere it. Not quite sure

    shop around, but you should be able to save files on the file system visible and own created folders. There will be

    some folders inaccessible devices that require internal processing (installed Te of applications etc..).

    3. you can open files as readonly etc. but elsethere it is not the layers of security installed. If you have data

    issues of security, you must save this Te using the RuntimeStore class!

    4. I don't know, but it's a fact. But for this purpose, you can detect the toggling of mass storage

    programmatically.

    5 see point No. 3

    6 see restrictions as specified in JSR 75.

    Kind regards

    Jochen

  • Questions about discussions...

    Hello

    I have a new app to do that requires network access.

    I have read this EXCELLENT post from peter_strange:

    http://supportforums.BlackBerry.com/T5/Java-development/connecting-your-BlackBerry-http-and-socket-c...

    Because I can't use BIS - B because I'm not a partner of the Alliance, I wanted to take a look at the new OS 5.0 network API and see how it works.

    I know that network connections should be performed in a separate thread.

    I'm far from being an experienced Blackberry developer... so I have a few questions about discussions.  I looked around the Internet, read on the forum, read the documentation, did some tests and so far, I came up with this code:

    SerializableAttribute public class HTTPConnection extends UiApplication {}
    Public Shared Sub main (String [] args) {}
    HTTPConnection PAP = new HTTPConnection();
    theApp.enterEventDispatcher ();
    }

    public HTTPConnection() {}
    pushScreen (new HTTPConnectionScreen());
    }
    }

    class HTTPConnectionScreen extends form {}
    public HTTPConnectionScreen() {}
    setTitle ("HTTPConnection");
    Add (new RichTextField ("choose a type of connection :"));

    final RadioButtonGroup = new RadioButtonGroup() rbGroup;
    RadioButtonField radioButtonF1 = new RadioButtonField ("Direct TCP", rbGroup, false);
    RadioButtonField radioButtonF2 = new RadioButtonField ("WAP 1.0/1.1", rbGroup, false);
    RadioButtonField radioButtonF3 = new RadioButtonField ("WAP 2.0", rbGroup, false);
    RadioButtonField radioButtonF4 is new RadioButtonField ("BES/MDS", rbGroup, false);.
    RadioButtonField radioButtonF5 = new RadioButtonField ("BIS-B", rbGroup, false);
    RadioButtonField radioButtonF6 = new RadioButtonField ("WiFi", rbGroup, false);
    Add (radioButtonF1); Add (radioButtonF2); Add (radioButtonF3); Add (radioButtonF4); Add (radioButtonF5); Add (radioButtonF6);
             
    FieldChangeListener listener = new FieldChangeListener() {}
    ' Public Sub fieldChanged (field field, int context) {}
    ConnectionThread ct = new ConnectionThread (rbGroup.getSelectedIndex () + 1);
    CT. Start();
    }
    };
             
    ButtonField buttonField = new ButtonField ("Connect", ButtonField.CONSUME_CLICK);
    buttonField.setChangeListener (listener);
    Add (buttonField);
    }

    / * method of onSavePrompt override default to avoid being asked if I want to record every time * /.
    protected boolean onSavePrompt() {}
    Returns true;
    }
    }

    class ConnectionThread extends Thread {}
    private int transportType;
    public ConnectionThread (int n) {}
    transportType = tt;
    }
        
    public void run() {}
    ConnectionFactory connFact = new ConnectionFactory();
    ConnectionDescriptor connDesc = connFact.getConnection ("URL", transportType, null);
    If (connDesc! = null) {}
    try {}
    HttpConnection httpConn = (HttpConnection) connDesc.getConnection ();
    httpConn.setRequestMethod (HttpConnection.POST);
    httpConn.setRequestProperty ("Content-Type", "application/x-www-formulaires-urlencoded");
    OutputStream out = httpConn.openOutputStream ();
    out. Write (Integer.ToString (transportType). GetBytes());
    int responseCode = httpConn.getResponseCode ();
    If (responseCode == HttpConnection.HTTP_OK) {}
    UiApplication.getUiApplication () .invokeLater (new Runnable() {}
    public void run() {}
    Dialog.Alert ("- SUCCESSFUL CONNECTION-");
    }
    });
    }
    If (httpConn! = null) httpConn.close ();
    } catch (IOException e) {}
    System.Err.println ("IOException Caught:" + e.getMessage ());
    }
    }
    }
    }

    In fact, this code works very well... but I want to improve it, and I have a few questions:

    1. I think that right now, every time I click on the 'Connect' button, I start a new thread. I would like to end this thread in the "run" method, but I don't really know how to access the variable 'ct' from there.   Counsel on how to do it?  Or maybe always use the same thread until my application is closed?

    2. in the FieldChangeListener of my "Submit" button, I want to access the value of radio box.  I did work, but I had to do my 'final' variable  What is the right way to do it?

    3 - to display a dialog box with 'Successful connection', I just wanted to write something in my main screen.  How I do that?

    I'm just a bit confused as to just what set up when you use a separate thread.

    Thanks for your advice!

    Edit: Hidden URL I connect to...

    That's what I call a good question! (now I'm wondering why the forums do not work with opera correctly, in any case, here my baldy to the answer format): 1. your thread "dies" when it's over, no need to close it. 2 Yes 3. You can use a reminder. See for example http://www.javaworld.com/javaworld/javatips/jw-javatip10.html

  • General question about the Browser element

    Will look for an alternative, I found the Browser element and now I have a few questions about that:

    As I am not yet experienced on the Interfaces of Java development, I was wondering if following senario is possible:

    Have some HTML Pages which do the job of the Interface.

    If you submit a form, the JAva Base program (the Master application) process all Information.

    If you are viewing a list, the info is from a json of the Base program output.

    As the Communication Server Client HTML, the only difference is, that all communications remains inside the app.

    Is this possible?

    I can't speak to the idea of dealing with the entry of html, but I can confirm that it is possible for an application program to create a html page and providing the BrowserField for display.

  • Small questions about Dataguard

    Hello

    I have a few questions about Dataguard. I'm new to DG, carry me so for the display of these fundamental questions:

    We plan to install Oracle 12 c to Win 2012 R2 with primary and physical intelligence on different physical servers. We are looking for HA solution, but cannot afford to license CARS. The two primary & Eve are going to be in the same data center connected via a 1 gigabit network. So I have a few questions related to it.

    (a) since both of our primary & Eve is going to be in the same data center with good connectivity. Can I assume that although Data guard is more DR solution, in our case it would be HA solution since we have no network latency.

    (b) is it safe to assume that where primary fails, then the day before can automatically take the role of primary education without any manual intervention, possibly using Dataguard broker?

    (c) so I understand that where primary breaks down, the existing connections transfer automatically from primary to standby db (most recent primary), but how my web based java application will know that more recent connections must be sent to the standby db Server (more recent primary)? I guess net Oracle has a provision to handle this? Who can be automated?

    (d) given that I have only 2 physical servers, can I deploy broker Dataguard on a normal PC (since it is a thin client) assuming the PC is kept in the data center and is online 24/7?

    (e) I was reading about the modes of Protection, account required to our current situation & infrastructure, I choose 'Maximum availability Mode' instead of 'maximum Performance '.

    (f) what is your point of view about Oracle integrated security? I hear too much on Oracle failsafe, because people generally go to a combination of CARS & dataguard for HA? We have a few additional storage that can be shared between the two servers, but I feel with literally no DG network latency can provide us HA.

    Concerning

    Learner

    (a) since both of our main & secondary is going to be in the same data center with good connectivity. Can I assume that although Data guard is more DR solution, in our case it would be HA solution since we have no network latency.

    Well it will not provide the level of HA that is RAC. RAC is a Transparent Application failover. With a physical standby, you need to apply some delay for a failover operation. You can implement the observer that can automate the failover and reduce the time.

    (b) is it safe to assume that where primary fails, then the day before can automatically take the role of primary education without any manual intervention, possibly using Dataguard broker?

    This isn't really the DG broker, but rather the observer you will need to implement. The DG broker automate failover. It will be the observer who "sees" (where its name) that the principal is down and initiate the failover process. To do this, the observer will use the DG broker, so it will be necessary.

    (c) so I understand that where primary breaks down, the existing connections transfer automatically from primary to standby db (most recent primary), but how my web based java application will know that more recent connections must be sent to the standby db Server (more recent primary)? I guess net Oracle has a provision to handle this? Who can be automated?

    You'll want to read on the QuickStart failover. http://www.Oracle.com/technetwork/articles/smiley-fsfo-084973.html

    (d) given that I have only 2 physical servers, can I deploy broker Dataguard on a normal PC (since it is a thin client) assuming the PC is kept in the data center and is online 24/7?

    The DG broker is required to run on the database server. The DG broker will run on the primary and standby. I think that what you're asking really anything is if the observer can run on a PC. Yes it can. However, it is probably not a good idea. A PC will not have the internal hardware redundancy, a server can have. If the PC can fail more often than to a server. And if the gods are bad, it will fail when you most need.

    (e) I was reading about the modes of Protection, account required to our current scenario & infrastructure, I choose 'Maximum availability Mode' instead of 'maximum Performance '.

    Your choice should depend on the amount of data loss is acceptable.

    (f) what is your point of view about Oracle integrated security? I hear too much on Oracle failsafe, because people generally go to a combination of CARS & dataguard for HA? We have a few additional storage that can be shared between the two servers, but I feel with literally no DG network latency can provide us HA.

    Oracle integrated security only works on Windows with a MS Failover Cluster. Real DBAs do not have Oracle on MSFC.

    See you soon,.
    Brian

  • The specific question about the placement of an image into text.

    Hello, I had a question about the placement of an image into text.

    I did the contours to create text to place the image inside. My text is 5 words and two lines inside the box.

    When I do create contours he gives me 2 transparent route separate layers for the top and the bottom line.

    How will I be able to do that in a single layer of compound to place image that expands to the two lines?

    First of all, there are two ways of describing the type. The default value creates anchored objects. You want a separate object, so hold down the Option/Alt key when you create outlines. Drag the new contours to separate the text block.

    It is useful to open the layers panel and view the contents of the layer. You have created a group which consists of two transparent traces. In the layers panel, expand the layer so you can see the structure. Shift-select the two transparent traces. (Make sure that the group is not selected.)

    Then choose object > tracks > make a compound path. This makes the two transparent tracks into one. Then, you can place or paste into the single compound path.

  • Questions about new HA in vsphere features 5

    Hello!

    I have a few questions about new ha features in vsphere 5

    I found, there is a master ha in the cluster that monitors other hosts and protected virtual machines through two type of heartbeats (network and data store) and move the VMS if necessary. If this host fails, an election is held and new master ha is determined by vcenter server.

    Ok! What happens if we install vCenter Server as a virtual machine inside the host who is the master ha in a cluster. If this host fails (something like a power cut) its agent goes too far and also the vcenter is destroyed. So, who's going to hold the election and introduce the new ha so that the old ha and vCenter are out of the game.

    I know that ha staff are not entirely dependent on vCenter and runs if the host taking vcenter is far (restart vms including vcenter or moved to another host on another) but I think this one is different because of the new role of master

    My next question is on the different types of events, which can arrive at the slave of the hosts and do their partitioned or isolation. I'll ask them later (once this question is answered

    Thanks to you all

    you mean master election (who needs to know the host object id in the cluster and the number of data warehouses connected and...) is performed by agents themselves? and he needs no intervention vcenter?

    No fix - no intervention from vCenter for an election of master.

    and another thing. When the host with vCenter machine on it and the role of chess master, how other officers find that the master is absent? is not the work of vcenter to notice and say to others when master does not work?

    Is not work of vCenter - is the work of the master and the process of hearbeating among the slaves.

    what I doubt is that: If slave hosts loose connectivity with the master, they think that they are faulty and should present themselves as isolated or partitioned and it is the duty of the vcenter to know when the captain does not work! can you please correct me here

    See above - is not vCenter work to determine which node is failed or isolated - it's the work of agents FDM.


    You should read the book of Duncan: http://www.amazon.com/dp/B005C1SARM/ref=as_li_tf_til?tag=yellowbricks-20&camp=0&creative=0&linkCode=as1&creativeASIN=B005C1SARM&adid=16Q69JRGDTX1DHPRKTQM


    It covers all this in depth.

Maybe you are looking for