[Show all top banners]

Ayus
Replies to this thread:

More by Ayus
What people are reading
Subscribers
:: Subscribe
Back to: Computer/IT Refresh page to view new replies
 IT -- Solutions Center[Forum]

[Please view other pages to see the rest of the postings. Total posts: 182]
PAGE: <<  1 2 3 4 5 6 7 8 9 10 NEXT PAGE
[VIEWED 84632 TIMES]
SAVE! for ease of future access.
The postings in this thread span 10 pages, View Last 20 replies.
Posted on 02-14-11 10:39 PM     Reply [Subscribe]
Login in to Rate this Post:     1       ?     Liked by
 


Shoot out your problems...
Lets share and expand the knowledge.....!!!!



We are open to share on(any IT related stuffs) :

- Javascript/JQuery/Ajax
- Java,JSP,Servlets and Frameworks
- WebServices
- Unix, Linux, Webserver Administration


+ many more !!!!

 
Posted on 02-16-11 9:02 AM     [Snapshot: 480]     Reply [Subscribe]
Login in to Rate this Post:     1       ?     Liked by
 

@default,

thanks mate.

in simple words, ant just zips the whole project like winzip and when we deploy, it unzips.
when ant zips the whole project ( like winzip), it is called war file.

 
Posted on 02-16-11 1:08 PM     [Snapshot: 531]     Reply [Subscribe]
Login in to Rate this Post:     1       ?     Liked by
 


Oracle just realase most Sophisticated High Availability (HA) weblogic tools called WebCenter Suite.

It is just an Oracle Fusion Middleware and a mix of existing Oracle software along with the various products from BEA.

thanks,
Geek
 


 
Posted on 02-16-11 10:54 PM     [Snapshot: 594]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Awesome Hibernate Framework Tutorial:

https://www.youtube.com/user/patrickwashingtondc

regards
ayus

 
Posted on 02-17-11 2:07 AM     [Snapshot: 621]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

 that is good tutorial Ayush.

Do you have any  link for HQL queries tutorial?


 
Posted on 02-17-11 11:51 AM     [Snapshot: 655]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 
 
Posted on 02-17-11 1:37 PM     [Snapshot: 679]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

roseindia.net

is fine for Hibernate Query tutorial.

 
Posted on 02-17-11 6:43 PM     [Snapshot: 706]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Hey Guys ..!!

Anybody had problems in java interview or Unix/Linux interview...?/ post here...
Lets discuss how to overcome interview questions??

 
Posted on 02-17-11 11:18 PM     [Snapshot: 733]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I had one ,
 A extends B , B extends  C and  C extends A
What kind of relation is that?

Could not answer it,Some where I saw java doesnot support and I couldnot run that example. Some language Does support .
( cyclic inheritence or sth was the term, forgot again ;))

 
Posted on 02-18-11 12:46 PM     [Snapshot: 765]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

java doesnt supprt such kind of inheritance.
java goes upto multi level inheritance but doesnt support multiple inheritance/.
If class  A is a super class then class B can extend class A and class C can extend class B.[multi level inheritance]





 
Posted on 02-18-11 3:28 PM     [Snapshot: 793]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I think the problem in that question was cyclic inheritence rather than multiple.
But yep, both are not supported in Java, but kind of multiple inheritence is supported ( not exact ) by using interface if I am not wrong.


 
Posted on 02-18-11 3:43 PM     [Snapshot: 797]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I dont think cyclic inheritence is supported in any language except for english.

Java doesnt support  multiple inhertiance, but it can be done by
src:http://csis.pace.edu/~bergin/patterns/multipleinheritance.html


General Multiple Inheritance

We can use the above to see how to provide general multiple inheritance. The difference here is that we may not be able to design one of the classes to be a mixin. In the usual case, the two classes are predefined and do not require services from each other. This means that the MRequires interface is not needed. However, we still need to define one interface, since Java won't let us mix two classes together.

If we do have the luxury of designing at least one of the classes then we can proceed as before, treating that class as the mixin and defining an interface that it will implement. Otherwise we need to do a bit more. Suppose that we would like to mix the class Parent of the previous section with a class Other defined below.

Class Other
{	public Other(int value) { ... }
	
	public void whatever()
	{...
	}
}

Since Java will let us extend only one class, we need to define an interface that declares the public features of the other. We will do this to make our life simple here, though you may choose to do the next step for the class of least importance and whose methods are going to be called least often. Here we will define an interface to give the public methods of the class Other.

Interface OtherInterface
{	void whatever();
}

We can now build a subclass of Other by doing nothing more than implementing this new interface and providing any required constructors (which are not inherited).

class OtherChild extends Other implements OtherInterface
{	public OtherChild (int value){ super(value); }
}

If we had the freedom to modify class Other we could avoid the class OtherChild and just have Other implement this new interface.

This new class is just like an Other, but it advertises that it implements the OtherInterface. From here we can proceed as in the mixin case by extending the Parent class, implementing he OtherInterface and creating a new OtherChild object to which we delegate the messages defined in the OtherInterface.

Class ParentChild extends Parent implements OtherInterface
{	public ParentChild(...) { child = new OtherChild(...); ... }

	public void whatever() { child.whatever(); }

	private final OtherInterface child;
}

So, in this class we have merged the actual implementations of two other classes, Parent and Other without modifying either class. This is general multiple inheritance. In Java we needed to define and implement interfaces and use delegation to an object of one of the classes to achieve this.

Conclusion

Multiple inheritance is needed only rarely. The fact that it is a bit awkward to achieve in Java is not a disadvantage as it may discourage you from using it in those cases in which a better solution is available. However, you should be aware that extensions to Java are not necessary to achieve the use of most features that Java seems to lack. Rather the Java was a good, sound, and complete language design that supports the kinds of things that developers need. It takes skill, however, to see how to achieve some of the less used idioms such as multiple inheritance.


 
Posted on 02-18-11 4:05 PM     [Snapshot: 807]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I was wrong :)
seems no programming laguage supports cyclic inheritence
thx prankster
 
Posted on 02-18-11 6:32 PM     [Snapshot: 833]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

another question
how do you handle multiple submissions in struts ?


 
Posted on 02-18-11 8:36 PM     [Snapshot: 848]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Your question is not clear. But as for my understanding, do you mean more than one buttons on same page?
for e.g. update, delete, add etc?
In this scenario, either you can go individual action class for each button or use Dispatch Action with only one action class.
I prefer going for Dispatch Action class.
You can find tutorials on DispatchAction.

www.vaannila.com==> ok for struts ,.


 
Posted on 02-18-11 10:15 PM     [Snapshot: 868]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

i am not talking about different buttons,
lets say you are takin care of credit card processing. There can be a circumstance where page reloads twice and two transaction process at the same time.
how can you avoid such multiple submission?
 
Posted on 02-18-11 10:17 PM     [Snapshot: 868]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Love this thread and what prankster said, supported no where but in English haha. If we are to add new queries do we just continue on this thread itself or start a newone!
Btw, what i would like to know is how is the programming like in the professional world? Is it like what we been reading/practising in java 1 & 2 cuz those things dont seem to be complicated enough to be paid 40k+ a year, or is it like i am not getting the point?
 
Posted on 02-18-11 10:30 PM     [Snapshot: 873]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

I am not into professional world too, but as I understand
Java 1 and 2 are just the core , you need it to understand the rest.
In someplace , where you are just developing simple stand alone applicatoin 1 & 2 do a lot.
However, you need more .
Go ahead and post your queries thing or whatever comes up related to the programming here, some one will come up with good solution, at least with good guidelines/links.
 
Posted on 02-18-11 10:53 PM     [Snapshot: 892]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

@dafault,

If pay is loading twice means you are sending two request...in order for page to load u need to send request to server...
for ur example of credit card processing, u can disable the submit button after it gets a hit...and u can disable it until u get response from server....

or you can use javascript for form submission.....before submitting you can count the button click and if button click is more than 1, prompt a msg  user....

but i prefer disabling a button after it gets hit once so that we avoid double/multiple submission....

 
Posted on 02-19-11 12:17 AM     [Snapshot: 911]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

will try that
thanks ayus
 
Posted on 02-19-11 2:45 PM     [Snapshot: 958]     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

@
default...
np ..keep posting !

 



PAGE: <<  1 2 3 4 5 6 7 8 9 10 NEXT PAGE
Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 365 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
TPS Re-registration
What are your first memories of when Nepal Television Began?
निगुरो थाहा छ ??
ChatSansar.com Naya Nepal Chat
Basnet or Basnyat ??
Sajha has turned into MAGATs nest
NRN card pros and cons?
Toilet paper or water?
TPS EAD auto extended to June 2025 or just TPS?
Do nepalese really need TPS?
Biden out, Trump next president, so what’s gonna happen to TPS, termination?
Nas and The Bokas: Coming to a Night Club near you
and it begins - on Day 1 Trump will begin operations to deport millions of undocumented immigrants
मन भित्र को पत्रै पत्र!
Will MAGA really start shooting people?
Democrats are so sure Trump will win
Tourist Visa - Seeking Suggestions and Guidance
From Trump “I will revoke TPS, and deport them back to their country.”
Anybody gotten the TPS EAD extension alert notice (i797) thing? online or via post?
Nas and The Bokas: Coming to a Night Club near you
Mr. Dipak Gyawali-ji Talk is Cheap. US sends $ 200 million to Nepal every year.
TPS Update : Jajarkot earthquake
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters