Tulsi Rai

Ranch Hand
+ Follow
since Jun 26, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tulsi Rai

Hi All,
does anyone have a good server-side email validation algorithm or codes? i really need help on it. thanks.
19 years ago
Has anyone tried WSDK 5.1 and Eclipse 3.0? just wondering if anyone has been able to get them both up and running? i would like to get help setting up.
thanks.
Hi All,
Reading thru Larman's Book especially the Case Study, he keeps calling "Store", "Register" or "Sale" CONCEPTUAL classes in domain model phase.What does he mean by "CONCEPTUAL"?

could you please explain this idea?
thanks.

Originally posted by Paul Keohan:
I think I get the difference between these patterns. The difference in my mind is basically, the AF pattern is for when your client maye not even know the factory type. But the FM pattern implies one factory creating different objects.
Paul




If i am not wrong, both AF and FM don't know the type of objects they are creating at runtime. this is my understanding based on what i read in the books but i can't show and prove how this (can't anticipate or don't know the type of class at run time) happens and gets resolved by AF and FM with examples. i would appreciate if some one could step in and show clearly these scenario with examples. Gosh.. i have never struggled so hard understanding anything than these AF and FM
thanks.
[ August 19, 2004: Message edited by: t ray ]
thanks Ilja, i am still trying hard to make it sense to me.hopefully i will get it over.
Thanks Ilja for the response.

Originally posted by Ilja Preuss:
Well, there are some possible other reasons to prefer the decoupling:]


Well, I understand the importance of decoupling but why do we need both interface and adapter class to decoule. why not just have the adapter class decouple.


- Reduced compile time dependencies: Without the interface, whenever you change the adapter, the Button needs to be recompiled.



again, why the Button needs to be recompiled so long as the methods used by Button do not change in Adapter class?
thanks.
Hi All,
Every creational pattern states that

Sometimes, an Application (or framework) at runtime, cannot anticipate the class of object that it must create. The Application (or framework) may know that it has to instantiate classes, but it may only know about abstract classes (or interfaces), which it cannot instantiate. Thus the Application class may only know when it has to instantiate a new Object of a class, not what kind of subclass to create.



I am having problem particularly with the statement "....can not anticipate the class of object that it must create, may only know when it has to instantiate a new object of a class ,not what kind of subclass to create...."

why can't we anticipate the class of object that's going to be created? could you please give me some real world example in easy-to-undestand way?
thanks.
[ August 18, 2004: Message edited by: t ray ]
Hi All,
I would appreciate if you could clearify some of my doubts that I always battle with while reading patterns. Here's what I don't understand:


The above design suffers from high coupling which is, as shown in an exmple,solved by an Adapter pattern by decoupling Button from Light. And here's how it has been done.


As shown in the above design, an interface and adapter class are created. my question here is why bother creating an interface? can't it be designed just by creating an adapter class like this:


and then have Button class use the Adapter. didn't it help decoule Button from Light? could you please point out what's wrong with my approach of having just an Adapter class not an interface?
thanks.
Hi Folks,
could you please advise me some good Webservices servers and tools like Tomcat or anything that would help learn and see webservice in action? is thare any good link that would explain implementing webservices using Tomcat or anyother for that matter?
thanks.
19 years ago
Hi All,
are there any other better J2EE plugin than myeclipse? i would appreciate if anyone suggest me a good J2EE plugin for Eclipse that would be better off in the long run.
thanks
Hi All,
Anyone knows how to configure Jakarta-Tomcat 5.x with IntelliJ IDEA 4.5?

Playing with IntelliJ, I found that Eclipse is more intuitive than IntelliJ. What do you think. I can't even figure out how to create a servlet and jsp in IntelliJ and there're not a whole lot of articlis no How-To for intelliJ.

thanks.
[ August 15, 2004: Message edited by: t ray ]
Hi All,
are there any good server-side debugging tools for free?
thanks.
yes EJB, JSP and Servlets pretty much all the components of J2EE.
Hi All,
there are some IDEs out there namely Eclipse, IntelliJ, GEL, NetBeans, Forte. I would appreciate if you could advise me as to which IDE would be good decision to use in the long run and why? in terms of Features/Capabilities, ease of use, support and other factors. One of the features i would like to have is J2EE compliant.
thanks.
[ August 12, 2004: Message edited by: t ray ]
Hi All,
I am not sure if this is the right place to aks this question but since we are talking about a development process, i am gonna ask this question here. and the question is that how would you estimate a completion time for a given task by a boss? If a boss or manager assigns you a particular task or a module and asks you for a rough completion time for that particular task. what is the real world way to give him/her the estimate? are there any formula or some approaches?
thanks.