IL's JAVA WORLD

Discussion in 'Education & Personal Growth' started by chaitusri, May 22, 2009.

  1. chaitusri

    chaitusri Silver IL'ite

    Messages:
    590
    Likes Received:
    17
    Trophy Points:
    50
    Gender:
    Female
    Hi frds ,

    Myself-Chaitusri, working in JAVA from last 4 yrs

    I have seen few Ilites are intrested in refreshing JAVA skills and also many are seeking for perfection in JAVA based skill set.

    So I thought starting a thread for this in IL would help us.

    We can select a topic everyday(from core towards J2ee) and we can discuss some tips in that topic. Once if I get intrested persons into this thread, we can plan according to all our needs

    Is anyone intrested to participate in this? If I get atleast one friend , I am ready to start from oops concepts.It's not teaching the entire stuff/covering the entire topic..just refreshing and going for in depth understanding of the concept,clarifying doubts and sharing some good tips and tricks.

    Waiting for good company....:cheers
    Regards
    Chaitusri
     
    Loading...

  2. archana2008

    archana2008 Gold IL'ite

    Messages:
    1,741
    Likes Received:
    420
    Trophy Points:
    165
    Gender:
    Female
    Hi Chaitu,

    I am in :thumbsup

    I am working in Java since 8 years. Interested in discussions related to Java. Interview Questions in each topic :cheers
    Ladies Jump In....

    Thanks
    Archana :)
     
  3. Marun

    Marun Platinum IL'ite

    Messages:
    1,211
    Likes Received:
    2,204
    Trophy Points:
    290
    Gender:
    Male
    Wow man,


    Two java giants here with 4 Yrs and 8 Yrs experience.

    Even though i don't know java, i am interested to learn stuffs. :thumbsup

    I remember some concepts like polymorphism, inheritance etc.... :cheers
     
  4. limitha

    limitha Senior IL'ite

    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    15
    Gender:
    Female
    Hi chaitu

    I am :thumbsup. i have only 3 years experience in java but i will try to with you guys.
    Thanks for this thread
     
  5. chaitusri

    chaitusri Silver IL'ite

    Messages:
    590
    Likes Received:
    17
    Trophy Points:
    50
    Gender:
    Female
    where do we start , let's start with
    v Anonymous inner class: An inner class with no name.
    v Example: actionPerformed events utilize the Observer-Observable pattern -- An instance of the observer is added to the observable. JBuilder creates an anonymous inner class to give to the button as its ActionListener.
    v Anonymous inner classes are very similar to named inner classes:
    Ø Anonymous inner classes can override methods of the superclass.
    Ø Anonymous inner classes are scoped inside the private scoping of the outer class. They can access the internal (private) properties and methods of the outer class.
    Ø References to an inner class can be passed to other objects. Note that it still retains its scoping.
    v But there are some important differences:
    Ø Anonymous inner classes must use the no parameter constructor of the superclass.
    Ø Since an object made from the inner class has a "life" independent of its outer class object, there is a problem with accessing local variables, especially method input paramenters.
    Ø Two ways to pass initializing parameters to an inner class:
    § Initialize a property that the inner class then uses -- properties have the cross-method-call persistence that local variables lack.
    § Make the local variable "final" -- compiler will automatically transfer the value to a more persistent portion of the computer memory. Disadvantage: the value cannot be changed.
    v Usages:
    Ø Very useful for controlled access to the innards of another class.
    Ø Very useful when you only want one instance of a special class.
    Syntax:

    [variable_type_superclass =] new superclass_name() {
    // properties and methods
    } [;]

     
  6. chaitusri

    chaitusri Silver IL'ite

    Messages:
    590
    Likes Received:
    17
    Trophy Points:
    50
    Gender:
    Female
    I am planning to start with oops concepts.
    where to start and what to start ...any inputs from you..any plan of action

    Shall we go one by one through these as first round

    1) Factory pattern
    2) Single ton pattern
    3) Prototype pattern
    4) Abstract factory pattern
    5) Builder pattern
     
  7. archana2008

    archana2008 Gold IL'ite

    Messages:
    1,741
    Likes Received:
    420
    Trophy Points:
    165
    Gender:
    Female
    Hi Chaitu,

    I have a suggestion to make, you have written all stuff related to inner classes.
    1) We should talk about if we are using practically inner classes in our project, if so where and how.
    2) Interview type of Q's in each topic. saying in interview they might ask about this criteria about inner classes.

    Same with patterns, we will discuss one pattern per day and where we are using that in our project.

    Also it is good that you pasted next day topic before hand so that we can also come up with info on hand

    Bye
    Archana :)
     
  8. limitha

    limitha Senior IL'ite

    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    15
    Gender:
    Female
    Hi Chaitu

    Its good u started with patterns.
     
  9. Sabitha_K

    Sabitha_K Gold IL'ite

    Messages:
    1,888
    Likes Received:
    62
    Trophy Points:
    105
    Gender:
    Female
    I am in :thumbsup.

    Glad to see this thread.I have been working in java for the past few years.

    Nice thread to brush up on topics and post our queries.It is too late here to pitch in anything.Shall try to catch up tomorrow.
     
  10. limitha

    limitha Senior IL'ite

    Messages:
    31
    Likes Received:
    1
    Trophy Points:
    15
    Gender:
    Female
    Hi chaitu

    We first explain why we use patterns, advantages of each pattern. I just want to give information abt Factory pattern.

    A definition for pattern:
    An abstraction from a concerete form which keeps recurring in specific,non-arbitrary contects.

    Software patterns are reusable solutions to recurring problems that we encounter during software development.

    1) Factory pattern
    2) Single ton pattern
    3) Prototype pattern
    4) Abstract factory pattern
    5) Builder pattern

    1.All this patterns are part of creational patterns.
    2.creational patterns deal with the best way to create instances of objects.

    Factory Method
    :This method provides simple decision making class which returns one of several possible subclasses of abstrat base class depending on data is provided.
    [​IMG]
    [​IMG]
     

Share This Page