Interface based design and serialization

Hi,
I have an interface, base class that implements this interface and subclasses derived from base class that also implement this interface.
I also have a method with this interface as an argument. My question is: how to do serialization of this argument in this method without using instanceof operator? Should interface extend Serializable and/or each class/subclass implement Serializable? Is it sufficient to just have common interface extend Serializable without classes/subclasses implementing it?
Thanks,
sale

Hi,
I have an interface, base class that implements this
interface and subclasses derived from base class that
also implement this interface.Not required. The subclass by default implements all interfaces implemented by the super class.
***every object of type base is also an object of type subclass but not ***vice versa, i.e. if we need an object of subclass then object of base ***will not do: every subclass object is a base object, but not vice versa
I also have a method with this interface as an
argument. My question is: how to do serialization of
this argument in this method without using instanceof
operator? Should interface extend Serializable and/or
each class/subclass implement Serializable? Is it
sufficient to just have common interface extend
Serializable without classes/subclasses implementing
it?Yes, making your interface extend Serializable would do, if you are sure
that all implementations of the interface
should be serializable. The implementation classes should, ofcourse have all data members serializable (primitive data types and/or serializable objects)
It would also be a good idea to have the method throw NotSerializableException.
*** So if I receive as an argument object of type subclass XYZ and ***assuming all implementations ARE serializable, then can I serialize ***this hierarchy by using reference of the interface received as ***parameter in this method?

Similar Messages

  • Support for "Interface Based Design"

    I would like two PC classes that implement a common interface, but the two
    PC classes are not related by inheritance, and would not be stored in the
    same table. For example,
    public interface VersionNumber {
    int getNumber();
    boolean isComparableTo( VersionNumber vn );
    /** PC class **/
    public class BasicVersionNumber implements VersionNumber {
    /** PC class **/
    public class CustomVersionNumber implements VersionNumber {
    /** PC class **/
    public class Paper {
    VersionNumber vn;
    Since "BasicVersionNumber" and "CustomVersionNumber" are not related via
    inheritance, they would not generally reside in the same database table.
    It would mean that the table containing "Paper" would need both the target
    table for this instance of "vn", and the primary key for "vn". It appears
    that KODO assumes the target table is available in the Meta-Data file, but
    with interface-based design, that is not known until run time and could be
    different for different instances of class "Paper".
    Is it possible to do this with KODO? Where can I go to understand how.
    Keith L. Musser
    Integrated Dynamics, Inc.
    812-371-7777
    email: [email protected]
    Disclaimer - This email, and any files transmitted with it, are confidential
    and may contain privileged or copyright information. If you are not the
    intended recipient you must not copy, distribute or use this email, or the
    information contained herein, for any purpose other than to notify us. If
    you received this email in error, please notify the sender immediately, and
    delete this email from your system.

    Kodo supports interfaces as fields (in Kodo 3, we support interfaces for
    more relation types). Kodo will store the toString () of the JDO
    identity for the actual concrete instance in the column as there is no
    formal O/R relation between the table and the interface field type.
    Keith Musser wrote:
    I would like two PC classes that implement a common interface, but the two
    PC classes are not related by inheritance, and would not be stored in the
    same table. For example,
    public interface VersionNumber {
    int getNumber();
    boolean isComparableTo( VersionNumber vn );
    /** PC class **/
    public class BasicVersionNumber implements VersionNumber {
    /** PC class **/
    public class CustomVersionNumber implements VersionNumber {
    /** PC class **/
    public class Paper {
    VersionNumber vn;
    Since "BasicVersionNumber" and "CustomVersionNumber" are not related via
    inheritance, they would not generally reside in the same database table.
    It would mean that the table containing "Paper" would need both the target
    table for this instance of "vn", and the primary key for "vn". It appears
    that KODO assumes the target table is available in the Meta-Data file, but
    with interface-based design, that is not known until run time and could be
    different for different instances of class "Paper".
    Is it possible to do this with KODO? Where can I go to understand how.
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • What is SW based design and development?

    What is SW based design and development

    What is SW based design and developmentI would assume SW = Software. So it would be
    Software based design and development which is
    also ambigous.
    1) It could be a grammer slip.
    2) It could be refering to using software development
    tools, anything from Visio to Rose but then i would
    expect them to be explicityly mentioned.
    3) It could mean be from a domain expert trying to
    differentiate work with a software development team
    from other business development programmes such
    product/plan/process development.i think i will take it as software for now,, as there are HW and SW: hardware and software.

  • Interface/class hierarchy and serialization?

    Hi,
    I have an interface, base class that implements this interface and subclasses derived from base class that also implement this interface.
    I also have a method with this interface as an argument. My question is: how to do serialization of this argument in this method without using instanceof operator? Should interface extend Serializable and/or each class/subclass implement Serializable? Is it sufficient to just have common interface extend Serializable without classes/subclasses implementing it?
    thanks,
    sale

    How should I serialize for example if the argument in the method is subclass XYZ? Do I need to use instanceof operator?

  • Does anyone have a suggestion for an alternative to iCal that will interface with the Cloud? I find iCal to be poorly designed and not very efficient.

    Does anyone have a suggestion for an alternative to iCal that will interface with the Cloud so it works on the iPhone and the Macbook? I find iCal to be poorly designed and not very efficient. I waste a lot of time entering information because you can't go to a specific day and enter information, nor can you navigate between months and add information on a specific date by clicking on the date. You can't easily scroll month-to-month and once you do by scrolling through nine months to get to where you want to be, you cannot enter information by clicking on a specific day in the month and entering information. I just called Apple and they verified that this is the way it works. You cannot go to a date and enter information, you keep getting thrown back to today and then you have to go into the calendar and change it manually on the screen. It is just not efficient.

    APC, CyberPower are reliable.
    Look for 1500VA. As example:
    APC
    http://www.amazon.co.uk/APC-Back-UPS-Pro-1500-Connector/dp/B0041MP81Y/
    Cyperpower:
    http://www.amazon.co.uk/Dell-CyberPower-Intelligent-LCD-1500VA/dp/B005DL5L50/

  • Comparable and Serializable interfaces

    Hi All,
    I have developed a program in java which implements Comparable and Serializable Interfaces. After, I decided to run the program in J2ME. But later on, I found that MIDP doesn't implement these interfaces.
    Some one can help me how to implement my own interfaces.
    Thank you

    Hi Supareno
    I need urgently your help.
    I developed Java program which works as predicitive text system for my mother tongue.I would like to move from Java to J2ME. But until now I have problems. please can u help me. the following code run in command line.
    I tried to develop my own interfaces as you told me but it doesn't work.
    Help me also for reading and writing text files.
    Thank you
    import java.util.*;
    import java.io.*;
    import java.util.Vector;
    import java.util.Enumeration;
    public class PredText {
    private Vector dict;
    public static final String dictionaryFile = "C:/java/words.txt";
    // convert a string to the corresponding signature
    public static String toNumeric (String word) {
    String lowerWord = word.toLowerCase();
    StringBuffer result = new StringBuffer("");
    for (int i = 0; i < lowerWord.length(); i++) {
    char c = lowerWord.charAt(i);
    if ("abc".indexOf(c) > -1) result.append("2");
    else if ("def".indexOf(c) > -1) result.append("3");
    else if ("ghi".indexOf(c) > -1) result.append("4");
    else if ("jkl".indexOf(c) > -1) result.append("5");
    else if ("mno".indexOf(c) > -1) result.append("6");
    else if ("pqrs".indexOf(c) > -1) result.append("7");
    else if ("tuv".indexOf(c) > -1) result.append("8");
    else if ("wxyz".indexOf(c) > -1) result.append("9");
    else if (" ".indexOf(c) > -1) result.append("9");
    else result.append("?");
    return result.toString();
    // find all the words corresponding to a signature
    public Vector findMatches(String sig) {
    WordSig ws = new WordSig(sig, "");
    WordSig newws;
    Vector results = new Vector();
    int index;
    index = Collections.binarySearch(dict, ws);
    if (index < 0){
    // no matches! :(
    // try to get the string that starts with a substring like ours.
    index=-1-index;
    if (((WordSig)dict.get(index)).getSig().startsWith(sig)) {
    // no word found. we return those starting with the
    // same signature
    newws = (WordSig) dict.get(index);
    results.addElement(newws.getWord().substring(0,sig.length()));
    return results;
    } else{
    //no match
    return results;
    } else {
    // go back to the first match
    while(((WordSig)dict.get(index)).getSig().equals(sig) && index>0)
    index--;
    if (index != 0)
    index++;
    while ((newws = (WordSig) dict.get(index)).equals(ws)){
    results.addElement( newws.getWord() );
    index++;
    return results;
    // intialises the dictionary
    public PredText () {
         String word;
    String sig;
    Vector dict = null;
    // first try to load dict.dat
    try {
    System.out.print("Trying to load dict.dat...");
    FileInputStream fileStream = new FileInputStream("C:/java/dict.dat");
    ObjectInputStream objectStream = new ObjectInputStream(fileStream);
    dict = (Vector) objectStream.readObject();
    fileStream.close();
    System.out.println(" done.");
    }catch (ClassNotFoundException classNotFoundException) {
         System.out.println("Unable to create an object");     
    catch (IOException e) {
    // exception: create the dictionary
    System.out.println("Error. I'm going to recreate the dictionary file");
    try {
    dict = createDict();
    catch (IOException ioe) {
    System.err.println("Error while creating dictionary file. Exiting." + e);
    System.exit(1);
    this.dict = dict;
    // create the dictionary serialised file
    public Vector createDict () throws IOException {
    String word;
    Vector dict = new Vector();
    //open the dictionary file
    System.out.print("Reading the dictionary... ");
    BufferedReader dictFile = new BufferedReader(
    new FileReader(dictionaryFile));
    //insert each word into the data structure
    while ((word = dictFile.readLine()) != null) {
    word = word.toLowerCase();
    dict.addElement(new WordSig(toNumeric(word), word));
    // List list = dict.subList(0, dict.size());
    List list = dict.subList(0, dict.size());
    Collections.sort(list);
    System.out.println("done.");
    System.out.print("Writing the dictionary... ");
    FileOutputStream fileStream = new FileOutputStream("C:/java/dict.dat");
    ObjectOutputStream objectStream = new ObjectOutputStream(fileStream);
    objectStream.writeObject(dict);
    objectStream.flush();
    fileStream.close();
    System.out.println("done.");
    return dict;
    public static void main (String args[]) {
         PredText pt = new PredText();
    if (args.length == 0) {
    // no arguments, find the largest clash
         Vector result;
         Enumeration e = pt.dict.elements();
    String currentSig = "";
    String prevSig = "";
    int clash = 0;
    int maxClash = 0;
    String clashSig = "";
    while (e.hasMoreElements()) {
    WordSig ws = (WordSig) e.nextElement();
    currentSig = ws.getSig();
    if (currentSig.equals(prevSig)) {
    // another word with the same signature
    clash ++;
    } else {
    // new signature: check if the previous one led
    // to a maximal clash
    if (clash > maxClash) {
    clashSig = prevSig;
    maxClash = clash;
    clash = 1;
    prevSig = currentSig;
    result = pt.findMatches(clashSig);
    System.out.println("The signature leading to most clashes is "
    + clashSig + " with " + result.size() +
    " number of clashes");
    for (int j = 0; j < result.size(); j++) {
    System.out.println((String)result.get(j));
    } else if ("0123456789".indexOf(args[0].charAt(0)) > -1){
    // numeric input: find the matches for the argument
    Vector result;
    result = pt.findMatches(args[0]);
    for (int j = 0; j < result.size(); j++) {
    System.out.println((String)result.get(j));
    } else {
    // convert each word to the corresponding signature
    for (int i = 0; i < args.length; i++) {
    System.out.print(toNumeric(args) + " ");
    class WordSig implements Comparable, Serializable {
    String word;
    String sig;
    public WordSig (String sig, String word) {
    this.sig = sig;
    this.word = word;
    public String getSig () {
    return this.sig;
    public String getWord() {
    return this.word;
    public int compareTo (Object ws) {
    return sig.compareTo(((WordSig) ws).getSig());
    public boolean equals (Object ws) {
    return sig.equals(((WordSig) ws).getSig());
    public String toString () {
    return sig + ", " + word;

  • Comparable and Serializable Interfaces in MIDP

    Hi All,
    I have developed a program in java which implements Comparable and Serializable Interfaces. After, I decided to run the program in J2ME. But later on, I found that MIDP doesn't implement these interfaces.
    Some one can help me how to implement my own interfaces.
    Thank you

    Thank you for replying to me.
    My problem is to compare to objects in MIDP.
    You know that in java is possible to implements directly the Comparable interface but in MIDP is not the same. So I think it requires to create your own. Is that my question.
    I need some to help me. just to avoid the implentation of comparable interface from the java lang package.
    Thank u.

  • Firewall/Switching/VLAN Design and Security considerations

    Hi,
    Consider the following:
    /SW3---|
    External--S1--FW---/ |Subnet 1
    | \ \ |
    | \__\SW4---|
    | /\
    | / /SW5--|
    External--S2--FW-/ |Subnet 2
    \ |
    \SW6--|
    Requirements:
    Router/Switch/Firewall/NIC resiliency. We can pretty much cover this with HSRP/redundant links(STP)/HA between firewalls/ and (HP) NIC Teaming.
    Question:
    Is it unreasonable to have SW3-SW6 physically on the one switch due to lack of available ports?
    I take it this wouldn't be the securtiy purists choice of implementation?
    If it is reasonable/doable, what are the features on IOS on switches eg. 2950's to implement this?
    Any help appreciated.
    Thanks
    Mark

    You can configure network security by using ACLs by either using the Cluster Management Suite (CMS) or through the command-line interface (CLI). You can also use the security wizard to filter inbound traffic on the Catalyst 2950 switches. Filtering can be based on network addresses or TCP/UDP applications. You can choose whether to drop or forward packets that meet the filtering criteria. To use this wizard, you must know how the network is designed and how interfaces are used on the filtering device. For more information refer to following url:
    http://www.cisco.com/en/US/products/hw/switches/ps628/products_configuration_guide_chapter09186a008007e8ed.html#36127

  • Looking for DPS designer and developper freelancer

    Hi everybody
    i've got a very interesting project to deliver
    I am looking for freelancers who have a very good experience working on DPS and Idesign, here is the brief, if you think you can help and want to make good money please shout: [email protected]
    BRIEF
    objective:
    create a digital version of 3 print magazines about home design and crafting : Ipad / android tablets and flash desktop
    tool:
    Adobe digital publishing suite, Indesign extension (software already used by the company) to :
    - Recontextualize / files the Indesign files my companie ueses to create folios / templates adapted/intended for the digital version of the magazines.
    - To sell digital magazines directly on the app store, marketplace, and others.
    Mission:
    - Create a whole range of folios / template that fits the style and the reading experience of each magazine.
    - Integrate the icons, multimedia and other elements created specifically for the digital version
    - Take the items Indesign files that have been done for the paper magazine version for the first quarter 2013 and lay them out entirely in the digital version.
    - assist on how to use DPS from folios creation to sales with a person specially recruited within my company and  enable him to build digital versions every quarter without too much assistance.

    We are based in NYC and we would need somebody to work out of our offices.

  • I am having trouble using reverb of any kind; it does not sound natural, but rather "pixilated." Does anyone have any ideas for a solution? I have used Silververb and Space Designer and am having the same problem...

    I am using Logic Pro 9 with two MXL 990 microphones in my piano and a Rode NT1A for vocals. I have tried recording with added reverb and keeping getting not a natural reverb sound, but a rather "pixilated" one that does not sound natural. Does anyone have any ideas on how to solve this issue? I have tried using Silververb and Space Designer, and both result in the same problems. Thank you!

    This is asking for the impossible! It does not sound natural because maybe it isn't and in judging so whats your reference anyway. If you are in dire need of some natural sounding room you can go and record it yourself. But even then, the chances that it sounds like you imagined it, are very slim.
    There are very decent sounding reverberation plugins, based on artificial reverb generators or convolution-style, the last one is said to sound more 'natural' then the first one. Be it as it maybe, it really is like cooking food. You got all the ingredients for this delicious taste at hand and believe it or not to reach a satisfying result this is not enough, because if you do not mix the ingredients in the right proportion you will end up with a different dish you thought you'll get. This is exactly the same when one would mix audio, I dare say.
    So treat yourself to some good ingredients and the rest is up to you, namely: taste and experience!
    And looking at some of my past music productions I always find the same plugins for the 'ambient' task:
    Altiverb by Audio Ease when I have acoustic ensembles (classical music mostly), the Sony Oxford Reverb in studio productions, Bricasti when I have to deal with drums and MMultiBandReverb from MeldaProduction for all-round stuff. Thats the base I start from, after that I can end up with dozen Reverb plugins which basically all are doing the same thing but just in a tiny different way.

  • How do you Design and Develop?

    How do you Design and Develop?
    I know this varies based on alot of things such as knowledge, preference, purpose, resources, etc..but I am curious how different (level of expertise) designers actually prefer or implement their websites. I decided to do this post after two different forums discussions regarding 1.Templates and PHP and 2. Backend Development.
    1. How do you generally approach a project?--Wireframe, Freehand (as it comes), PSD template, etc.--Do you have a specific 'methodology' or procedure?
    2. What are 2-3 of your main resources / sites / applications etc that you use (and for what?)
    Specifically: What do you use (and how) to get up a website? (I know again this depends on a variety of things, but in general..) *also if you would like to comment on your expertise or level maybe helpful.
    Do you prefer (Pros/ Cons of:) What advice would you give regarding below?
    Your own HTML/CSS/Script based site that you mostly (if not completley) built. (More control and original, but harder / tedious for beginner)
    HTML Temlplate (tweak the HTML and CSS)--non framework type (Quick and easy, but usually poor quality, outdated?)--but some can servde as good starting point.
    Wordpress (And others like Drupal, Joomla) (Somewhat quick and easy access to tweak a quality WP Theme with ability for alot of features--forms, search, databases, etc (otherwise might have trouble with advanced features w/o good working knowledge og PHP and MYSQL, maybe others?)--but kind of a 'workaround' for real HTML design?
    Frameworks types like Foundation, Bootstrap, Skeleton
    A combination or hybrid of methods? -- or another method I have overlooked?
    Thanks very much for any insight you can offer, hopeully this will lead to a vibrant discussion.-

    The websites I build are 95% PHP/MySQL. They are heavy on business logic. I sometimes work with designers, SEO "experts" and (rarely) other coders. I almost never work on the content of websites. The clients do that themselves through the CMS I build for them.
    I write every line of code myself except for the use of jQuery and a few PHP code classes adapted from others. I can build a complex website in a matter of minutes by reusing the code libraries and patterns I have developed from previous projects.
    I don't use a PHP framework because I have developed my own "pseudo-framework" for the particular kinds of sites I build, but I respect the frameworks that are out there. They can teach you excellent coding habits.
    In starting the design and logic of a site, the most essential question is: What is the website (or website project) supposed to accomplish? My clients tell me what they want to accomplish, but I usually decide how to get there. This holds for both business logic and design, because design also must serve the business objectives.
    My website projects generally take four months to two years to complete. The client usually dedicates one employee to work as a liaison between me and the rest of the company. Because the sites I build are heavy on the business logic, a great deal of time is spent on testing and debugging. I make testing the responsibility of the client so I can't be held liable if, for instance, a terrible accounting mistake is discovered in the code logic.
    I like to use Adobe Illustrator for design development because I became an Adobe Illustrator ACE in 2000; however, I can see that Fireworks is probably the better tool. Photoshop is an important secondary tool.
    For general site management and code writing I use both Dreamweaver and ZEND Studio; however, I use Dreamweaver less and less.
    I now require all my clients to have their websites (and also domain name registrations, since my company is a domain name reseller) hosted on my VPS server. This prevents anyone from stealing code I have worked for years to develop and also establishes a commitment between myself and the client. When you are starting a web development business, you can't demand this kind of commitment from the client. Even a lot of great seasoned developers can't. It depends on your reputation within the specific industry(ies) you service.

  • The background behind my pages has turned black, how do i get it to go back to grey? i have switched between preview, normal, bleed, slug and presentation and closed and opened in design and it is still black. I can't imagine layouts with the black backgr

    the background behind my pages has turned black, how do i get it to go back to grey? i have switched between preview, normal, bleed, slug and presentation and closed and opened in design and it is still black. I can't imagine layouts with the black background please help!

    or maybe the interface has been set to Dark?
    Go to Preferences > Interface tab, choose Light from Color Theme dropdown on Apearance section (upper part of the window)

  • Date format convert error in XML interface based Adobe interactive forms

    Hi experts,
    I am using XML interface based Adobe interactive form in Web Dynpro ABAP. The form just contains some date fields and numeric fields.
    When I test the WD Application, the date fields appear like 0000-00-00 at the first time. And then I set the form input disable, and get the XML from the form, at the same time I get the warning message, 'date format convert error'. By the way, I have set the edit pattern, display pattern and data pattern  of the date field to YYYYMMDD, but there seems no effect.
    Could you tell me how to set the default date format in date field Or clear the 0000-00-00?
    And another question, all of the numeric fields in the form appear like 0.0, how can I set it to empty when the form initialize?
    Best Regards,
    Guo Guo Qing

    Hi Chintan,
    Thank you for your reply.
    I have tried every possible changes on the Date field, locale, pattern. But still no effect. When the PDF come up in the WDA program, the date field is still '0000-00-00', and then I export the XML date of the form, there is also '0000-00-00' in the interface field.
    I can't clear the '0000-00-00' in initializiation event using javascript because if I need to open the form again, if I do this, the value user input could be cleared.
    I also try using Javascrip like this
    if this.rawValue == "0000-00-00"
    { this.rawValue = ""; }
    The code above can't clear the initializiation zeros too.
    Have you used the XML interface based online Adobe Forms? I have used XML PDF forms for output before, that's perfect. But the input forms seems so strange.
    Best Regards,
    Guo Guo Qing

  • When attempting to create an SSRS Report in SharePoint 2010 Dashboard Designer and change the Server Mode from Report Center to SharePoint Integrated

    Hi,
    When attempting to create an SSRS Report in SharePoint 2010 Dashboard Designer and change the Server Mode from Report Center to SharePoint Integrated, I get the following unhandled exception:
    ************** Exception Text **************
    System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: Instance validation error: '2' is not a valid value for Microsoft.PerformancePoint.Scorecards.SqlReportViewData.SqlReportViewDataServerMode.
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlReportViewData.Write1_SqlReportViewDataServerMode(SqlReportViewDataServerMode v)
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlReportViewData.Write3_SqlReportViewData(String n, String ns, SqlReportViewData o, Boolean isNullable, Boolean needType)
       at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlReportViewData.Write4_SqlReportViewData(Object o)
       --- End of inner exception stack trace ---

    Hi,
    According to your post, an error occurred when you integrate SQL Server Reporting Services with SharePoint.
    1. Please check the steps as the link below:
    http://technet.microsoft.com/en-us/library/ff724283(v=office.14).aspx
    2. Try to clean the configuration cache on all of your SharePoint servers and re-tested.
    http://blogs.msdn.com/b/josrod/archive/2007/12/12/clear-the-sharepoint-configuration-cache-for-timer-job-and-psconfig-errors.aspx
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Ask the Expert: Enterprise Design and Deployment of Multicast

    Welcome to this Cisco Support Community Ask the Expert conversation. This is an opportunity to learn and ask questions about Cisco enterprise design and deployment of multicast solutions.
    The enterprise world is evolving to be overcome with large throughput capacity and record numbers of users connecting to the network. Mechanisms such as multicast, which allows for a minimization of throughput for multiple users subscribing to the same stream, are a welcome addition. Applications such as enterprise all-hands video streaming, trading applications, mass operating system deployment, and custom implementations can put a strain on the network if done via unicast. Multicast can minimize this strain by replicating a single stream for subscription by multiple parties who would like to receive the same information. For this Ask the Expert event, Patrick Lloyd, CCIE R&S no. 39750 and a network consulting engineer with Cisco’s Enterprise Advanced Services Delivery Team, will answer questions about multicast design and implementation based on best practices and prior experience with large enterprise deployments.
    Patrick Lloyd is a network consulting engineer for Cisco’s Enterprise East Advanced Services team, working to support and lend his expertise to a number of financial, insurance, healthcare, and consulting customers. In his four years of experience, he has lent design expertise to multicast networks ranging from 500 Cisco devices and 20K users to upward of 4500 Cisco devices and 50K users. Patrick is certified with his Cisco Certified Internetworking Expert no. 39750 in the Routing and Switching track and also has achieved certification in CCNA Security and Securing Cisco Routers and Switches as part of the CCNP Security track. Patrick received his MS degree in networking and systems administration from Rochester Institute of Technology in Rochester, NY, and his BS degree in computer science from Eastern Connecticut State University. He frequently gives customer-based knowledge transfers.
    Remember to use the rating system to let Patrick know if you have received an adequate response.
    Because of the volume expected during this event, Patrick might not be able to answer every question. Remember that you can continue the conversation in Network Infrastructure under the subcommunity WAN, Routing & Switching shortly after the event. This event lasts through September 12, 2014. Visit this forum often to view responses to your questions and the questions of other Cisco Support Community members.

    Thanks for the question!  This is actually a good one that I've encountered with a couple customers in the past, the tradeoff between a flood and prune type design, as opposed to the shared tree -> shortest path tree sequence.  As per Cisco best practice, we are actively trying to get customers to implement sparse mode, going so far as to not support PIM dense mode in our data center products.  And for good reason!  The last thing you want is a chatty protocol within the data center which is flooding traffic out to receivers who may or may not be interested in it every 3 minutes.  Instead, you're much better off having interested receivers join a stream, have your RP connect the interested senders and receivers, and then transition to the shortest path between source and destination.
    That being said, if you're studying for CCIE or looking to get experience in how multicast works, dense mode should at least be a lab exercise!
    Links for reference as to the difference in PIM modes:
    Dense Mode Operation:
    http://www.cisco.com/en/US/docs/ios/ipmulti/configuration/guide/imc_pim_dense_rfrsh.pdf
    Pim Modes and explanation of each:
    http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750x_3560x/software/release/12-2_53_se/configuration/guide/3750xscg/swmcast.html#wp1077051
    A great slide deck to learn the operation of multicast:
    https://www.ciscolive.com/online/connect/sessionDetail.ww?SESSION_ID=6633&backBtn=true
    Troubleshooting Multicast:
    https://www.ciscolive.com/online/connect/sessionDetail.ww?SESSION_ID=78578&backBtn=true
    Let me know if this is the answer you're looking for!

Maybe you are looking for

  • EJB/8i deployment and SSL

    Hello JDev Team, I want to use SSL encryption and authentication in my InfoSwing BC4J Oracle8i application. For Local Deployment it's quite transparent you just define appropriate LocalConnection class and SSL works fine. But for EJB/8i Deployment it

  • Dinamic change language at RCF Communication Channel

    Hi people! Do you have already found any problem with language in integration scenarios? We have many interfaces used by multi-language legacy applications... when an error is returned from abap programs (standard or not), the error message is always

  • Downgrading firmware w/ Zen Mi

    to downgrade firmware can you just got to the "downloads" on the creative website and download an older version becaue i would rather use creative media source than WMP 0. Somehow when i drap and dropped my songs from my shared folder it completely m

  • Replace with a blank space instred of , and _

    Dear all I am using oracle 10g. I want to replace with a blank space instead of , and _. example i have a string like ABCD_EFG,HKL Then it should come like ABCD EFG HKL .. How can i do it?

  • Association and ViewLink Object naming

    Hi, Jdev: 11.1.1.6 I have recently upgraded to jdev 11.1.1.6. While creating BC objects, the associations and view links are created with weird names like 'SysC0012692Assoc' -{which actually is a fk between Calendar and CalendarPeriodicities entities