Allah - bismiLlahir Rehmaanir Raheem - laailaha illaLlaho Muhammaddur rasooluLlah - Muhammad sallaLlahoalaihiwassallum

(Muhammad Faisal [MOBZFSL] SubtleSolo)

Home
Blog - 353 Posts Hot and Latest
Entertainment / Spicy Pics
Arrivals ...
Dynamic Links / Pages
Something Worth!
Allah's names
Muhammad's (saws) names
Interesting facts of Qura'an
Qura'an & Science
Holy Ka'aba - Makkah Pictures
Holy Madinah Pictures
Nature Pictures (Beauties)
Hamd-o-Naat - Downloads
For Non-Muslims
Picture - Photo Gallery
My Picture
Cute Innocence - Children
Amazing Pics. / Abstract Arts
Interesting / Funny Pictures
Technology Pics(Cars,Aero etc)
Air Force Pictures
Animations
Good Words / Thoughts / Cards
World Places
Nature Pics. (Traveling / Spicy)
Celebrity Gallery (Actors etc.)
Random Visuals
PicoProjector3
PicoProjector3

Show Next Visual
Entertainment Misc. Stuffs
Worth Readings - Lessons of Life
Beautyful lines (Quotes)
Love
Urdu Stuffs (Poetry/Articles etc)
Poetry Collection
Interesting Facts / Brain Teaser
Mind Reader
Medical / Health Lines
Fun Reading
Laugh Baby
Jokes
Games
Love SMS
Funny SMS
Dictionary(English-Urdu-Arabic)
Download Files (.ppt, .doc etc)
Songs List / Music
Downloads-Technical/Codes
Knowledge Base
Life Routine - Etiquettes
Business transactions
Fresh Engineers's Help
Interview Questions
C++
C Sharp
ASP .NET
Java
Servlets
Perl
XML
Oracle
Networking
SAP R-3
Testing - Quality Assurance
More topics... Click here
Visitor Book / Comments
Contact
Add to / Bookmark with:

     Facebook      Twitter  
     Mixx      Linkedin
     reddit      Digg
     Yahoo Buzz      Newsvine
     delicious      Fark 
    StumbleUpon 
     Google      Yahoo

Search
© 2001-2012 Muhammad Faisal.
All rights reserved. | Disclaimer

   
 
These material are compiled for helping junior / senior software engineers and others.

3. What is difference between Swing and JSF?

The key difference is that JSF runs on the server in a standard Java servlet container like Tomcat or WebLogic and display HTML or some other markup to the client.

4. What is JSF?

JSF stands for JavaServer Faces, or simply Faces. It is a framework for building Web-based user interfaces in Java. Like Swing, it provides a set of standard widgets such as buttons, hyperlinks, checkboxes, ans so on.

5. What is the difference between URL instance and URLConnection instance?

A URL instance represents the location of a resource, and a URLConnection instance represents a link for accessing or communicating with the resource at the location.

6. How do I make a connection to URL?

You obtain a URL instance and then invoke openConnection on it. URLConnection is an abstract class, which means you can't directly create instances of it using a constructor. We have to invoke openConnection method on a URL instance, to get the right kind of connection for your URL. Eg. URL url;

URLConnection connection; try{ url = new URL("..."); connection = url.openConnection(); }catch (MalFormedURLException e) { }

7. What is a Socket?

A socket is one end-point of a two-way communication link between two programs running on the network. A socket is bound to a port number so that the TCP layer can identify the application that data is destined to be sent. Socket classes are used to represent the connection between a client program and a server program. The java.net package provides two classes--Socket and ServerSocket--which implement the client side of the connection and the server side of the connection, respectively.

8. What information is needed to create a TCP Socket?

The Local System's IP Address and Port Number. And the Remote System's IPAddress and Port Number.


Sources :
DEVFYI - Developer Resource - FYI
TechGuider


Click here to get Interview's Topic Index


Click here for all latest additions. Posts (353)

Watch your Thoughts, they become Words! Watch your Words, they become Actions! Watch your Actions, they become Habits! Watch your Habits, they become Character! Watch your Character! ..It becomes your Destiny!!!.

723950 hits. Comments here...