Home | Contact Us | Log In | Help
  ASP.Net & C#
  Perl and PHP
  Java Scripts
  C and C++
  Ajax Tutorials
  J2ee, J2Me, Java
  Python & Ruby Rail
  Crystal Report
  Cold Fusion & CFML
  Photoshop/Web Designing
  Tools & Utilities
  Sql Server
  Domain Name Registration
  Remotely Hosting
  Web/Server Application
  Hotel Marketing
  Internet and Law
   Search Engine Optimization/SEO
Interview Questions

Previous < 1 2 3 4 5 6 > Next

Dreamweaver 2
 What is the difference between queue and topic?

A point-to-point (PTP) product or application is built around the concept of message queues, senders, and receivers. Each message is addressed to a specific queue, and receiving clients extract messages from the queue(s) established to hold their messages. Queues retain all messages sent to them until the messages are consumed or until the messages expire.

In a publish/subscribe (pub/sub) product or application, clients address messages to a topic. Publishers and subscribers are generally anonymous and may dynamically publish or subscribe to the content hierarchy. The system takes care of distributing the messages arriving from a topic's multiple publishers to its multiple subscribers. Topics retain messages only as long as it takes to distribute them to current subscribers.

A connection is created between the client and the server from a connection factory. Connections can be shared by several threads. The user credentials are supplied at this level. It is probably common for a client application to share access to a single connection to the server (unless different security credentials are required for different destinations).
A session is created from a connection. The session may only be used by one thread at one time. The user credentials are inherited from the parent connection. It is probably common for each MessageProducer (TopicPublisher or QueueSender) or MessageConsumer (TopicSubscriber or QueueReceiver) to have their own session due to the threading restriction.
You can look at it like a tree. At the top you have a connection factory, beneath this you have your connections and then beneath the connections you have sessions. The leaves of the tree are the JMS actors (MessageProducers and MessageConsumers).

 What is JMS?

JMS stands for Java Messaging Service which is developed by Sun Microsystems . JMS Provider allow applications which are running on different systems can communicate with each other asynchronously . Many EAI tools support JMS as their standard messaging service.OR
JMS stands for java messaging services,it is component used to communicate between the two Applications,In a Synchronous or Asynchronous mode.Simillar to the Java Mail,but the difference between the javamail and java messaging services is javamail is like a store and fwd,and also it is between the user and the machine.OR
The Java Message Service is a Java API that allows applications to create, send, receive, and read messages. Designed by Sun and several partner companies, the JMS API defines a common set of interfaces and associated semantics that allow programs written in the Java programming language to communicate with other messaging implementations.

 What is the difference between ejbCreate() and ejbPostCreate() ?

Session and Message Driven Bean will have only ejbCreate() method and no ejbPostCreate() method. Entity bean will have both ejbCreate() and ejbPostCreate() methods.  

The ejbPostCreate method returns void, and it has the same input parameters as the ejbCreate method. If we want to set a relationship field to initialize the bean instance, we should do so in the ejbPostCreate method. we cannot set a relationship field in the ejbCreate method.  

The ejbPostCreate() allows the bean to do any post-create processing before it begins serving client requests. For every ejbCreate() there must be a matching (matching arguments) ejbPostCreate() method.


The ejbCreate is invoked by the container prior to the bean being created, and prepares the bean for creation. The ejbPostCreate is invoked by the container directly after the bean instance is created, to perform any follow-up methods, just before the result is returned to the client.

 What is the difference between EAR, JAR and WAR file?

In J2EE application modules are packaged as EAR, JAR and WAR based on their functionality  
EJB modules which contains enterprise java beans class files and EJB deployment descriptor are packed as JAR files with .jar extenstion 
Web modules which contains Servlet class files,JSP FIles,supporting files, GIF and HTML files are packaged as JAR file with .war( web achive) extension 
All above files(.jar and .war) are packaged as JAR file with .ear ( enterprise archive) extension and deployed into Application Server.

 Explain the relationship among database, tablespace and data file. What is schema?

 There is a very close relationship between database, tablespaces and datafiles Technically --> A database is linked with one or more tablespaces and a tablespace is linked with one or more datafile
One datafile has not linked with two or more tablespaces means one datafile is linked with only one tablespace, and this is the same case in relation of database and tablespace -- > one tablespace is not linked with one or more databases but a database has one or more tablespaces
When a database user is created, a corresponding schema with the same name is created for that user. A schema is a named collection of objects that include Tables, Triggers, constraints, Indexes, Views etc. A user can only be associated with one schema, and that is the same name as the user's. Username and schema are often used interchangeably.

 What is the importance of Cascade in CSS?

One doesn't have to declare repeating styles for the child elements. E.g. if <body> has a font-name style set to Arial, by default all the elements in the HTML document will inherit this property, unless defined separately.

 What is the syntax of text-wrap property of CSS3?

<style type="text/css">
white-space: nowrap

Is this what you are looking for ?

 What is the need for CSS?

To make the downloading to the web pages fast.
To make the content different from styles.
to maintain the site in same standard and make changes in the style of whole style very fast.


Previous < 1 2 3 4 5 6 > Next

  Copyright 2000-2006 © SoloScript.com, All rights reserved.