What design patterns have you used

Showing Answers 1 - 17 of 17 Answers

satyanarayana.k

  • Jun 2nd, 2005
 

hi all 
there are basically various patters used based on the stituations we are faced. we have used the following as for the current project. 
 
patters like session facade when u want to interact with entity beans with the stateful beans. 
 
factory method such as, when u call a create()method, that in terms calls the EjbCreate(). 
 
MVC pattern we have used in struts drastically and which interm corresponds to J2ee controller. 
 
abstract factory method pattern we use whenever we have various interfaces which needs implementation for certain methods. 
 
Thanks and rgds 
satyanarayana

  Was this answer useful?  Yes

mohan

  • Jul 16th, 2005
 

in java we r creating object reference with new key word there is any othere ways are there?

Rishi

  • Aug 1st, 2005
 

In Java, what is the difference between Java API & Applets. 
 
What is the advantage if a person have Java + LDAP Skills

  Was this answer useful?  Yes

ch.srinivasa murthy

  • Sep 4th, 2005
 

how to refresh the automatically the score board result of the cricket for every 5 minutes. 

  Was this answer useful?  Yes

mike

  • Sep 12th, 2005
 

try this

<META HTTP-EQUIV="REFRESH" CONTENT=''5*60">

  Was this answer useful?  Yes

shantakumar

  • Sep 15th, 2005
 

? Creational patterns are ones that create objects for you, rather thanhaving you instantiate objects directly. This gives your program moreflexibility in deciding which objects need to be created for a given case.? Structural patterns help you compose groups of objects into largerstructures, such as complex user interfaces or accounting data.? Behavioral patterns help you define the communication between objectsin your system and how the flow is controlled in a complex program.

  Was this answer useful?  Yes

uday

  • Sep 16th, 2005
 

Hi all,

  design patterns are templates which gives easier approach for certain issues if appropriate pattern is choosen

Regards

Uday

Teja

  • Sep 23rd, 2005
 

You can say design patterns are the best possible solutions for the recurrent problems. This is not a specific term for a specific technology and is generic first coined by the GangOfFour(GoF)

  Was this answer useful?  Yes

ch.srinivasa murthy Wrote: how to refresh the automatically the score board result of the cricket for every 5 minutes. 

Hi Srinivas,

         This is the code to refresh your page.

         response.setHeader("Referesh","300");

     Remember the keyword Referesh is case sensitive. and The numeric value you are passing is, Seconds.

  Was this answer useful?  Yes

suganthan

  • Sep 27th, 2005
 

Hi,

In meta data there is element called refresh="5" where 5 represents 5 secs.

Otherwise,You can go for javascript

regards,

suganthan

  Was this answer useful?  Yes

jahnavi

  • Oct 1st, 2005
 

Design Patters Provides the user with the advantages of:1. Reusability2.Flexibility3.Ease to useSomeof the design patterns are:1. Facade2.Abstract3.Builder4.factiry5.Flyweight6. Proxy7. Interface8.MVC9.Strategy10.State.11.Observer

  Was this answer useful?  Yes

jinu

  • Oct 3rd, 2005
 



Hi

   Use AJAX, it will help to refresh ur page automatically

Regards

Jinu

  Was this answer useful?  Yes

suman

  • Mar 5th, 2006
 

   Hi guys,

                 Answer to the questons properly.Be professionals.Donn mislead others

  Was this answer useful?  Yes

Johny SatheesKumar.M

  • Aug 15th, 2006
 

hai i am johny,

We can create an object reference by a reference variable of that object.When a class is instanciated,the object of that class occupies 80 bytes in the memory.After adding a variable or method ,the size will dynamically increased by 8 bytes.when the limit cross the size upto 80 bytes ,suddenly the object takes another 8 bytes and the size is incremented to 88 bytes,even there are some locations to add a method or variables.So the size is dynamically changed by 8 bytes.So if we want to create an object we can declare the variable of that class and store it into another object space.

  Was this answer useful?  Yes

Subbiah.S

  • Dec 20th, 2006
 

Answer:

setHeader("Refresh","5");

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions