ALLInterview.com :: Home Page      
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
   
 
 Categories >> Software >> Java Related >> Java J2EE
 
  Core Java (1748)   Advanced Java (334)   Swing (44)   EJB (134)   Servlets (256)
  Struts (198)   JDBC (188)   JMS (9)   SunOne (3)   J2EE (72)
  Weblogic (148)   Websphere (14)   Java Networking (20)   Java J2EE AllOther (86)
 
Suggest New Category 
 


 

Question Asked @ Answers Views     Select
difference between ¬†ejb,struts,hibernate,spring and jsp    0  16
what is container? infosys   1  54
What is aggregation? cap-gemini   0  43
What is design pattern and there types? cap-gemini   0  26
How do you implement polymorphism in our day to day life? cap-gemini   0  38
Explain JSP life cycle cap-gemini   0  17
What is access modifiers? cap-gemini   0  28
What is OOPS Concept? cap-gemini   1  42
how to create a sub domain in domain ? tcs   0  71
How to prevent to create multiple objects of a java class? tcs   2  117
public class Test { public static void main(String ar[]) { Integer a = 10; Integer b =10; Integer c = 145; Integer d = 145; System.out.println(a==b); System.out.println(c==d); } } igate   7  234
How Struts internally works? For Example if we type the URL "/login.do" how the process goes internaly? How the struts-config.xml loaded? allied-digital   0  128
why abstract class does not have object creation value-labs   5  446
am searching for the job based on java, swing, currently working small company. they are not giving any salary slip, offer letter. so if i try outside for MNC's they start with previous company details. what should i do..? please help me to get job and make my career. eclinicalworks   0  85
How to upgrade the weblogic version and explain the steps? tcs   1  291
E-Mail New Answers        Answer Selected Questions       
 [1]    2  ... 16   ... 31   ... 46   ... 61   ... 76   ... 91   ... 106   ... 121   ... 136   ... 151   ... 166   ... 181   ... 196   ... 211    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views   Select
 
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box. 148
How to connect to a remote database using Applet? 483
I want to use the markerfor playing a video using the jmf.Suppose my video length is of 2 hours.I want it to play ex-15 mintue or 20 mintue and should stop after assigning the time.I am providing my piece of code............please help me.... package com.jha.cdac.lila.praveen; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Container; import java.awt.Dimension; import java.awt.Toolkit; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.io.File; import java.net.URL; import javax.media.ControllerAdapter; import javax.media.Manager; /** * * @author vinays */ import javax.media.Player; import javax.media.RealizeCompleteEvent; import javax.media.Time; import javax.swing.JFrame; public class PlayVideo extends javax.swing.JFrame{ Player player; Component center; Component south; // this code is required for playing the video file of mpeg,mp4,mp3,3gp,rm,flv, //wmf,mpv,vob,qt and the asf extension public PlayVideo() { File file = new File("Lesson1.mpg"); try { load(file); // load() } catch (Exception ex) { //Logger.getLogger(LessonNarrative.class.getName ()).log(Level.SEVERE, null, ex); System.out.println("Error while loading file............"+ex); } } //the piece of code given below is used to load the file which user want to play. public void load(final File file) //load the file throws Exception { URL url = file.toURL(); final Container contentPane = getContentPane(); if (player != null) { player.stop(); } // MediaLocator mediaLocator=new MediaLocator (file.toURL()); // DataSource dataSource=Manager.createDataSource (mediaLocator); // player=Manager.createPlayer(url); player = Manager.createRealizedPlayer(url); ControllerAdapter listener = new ControllerAdapter() { @Override public void realizeComplete( RealizeCompleteEvent event) { Component vc = player.getVisualComponent(); player.getVisualComponent(); if (vc != null) { contentPane.add(vc, BorderLayout.CENTER); center = vc; } else { if (center != null) { contentPane.remove(center); contentPane.validate(); } } Component cpc = player.getControlPanelComponent(); if (cpc != null) { contentPane.add(cpc, BorderLayout.SOUTH); south=cpc; } else { if (south != null) { contentPane.remove(south); contentPane.validate(); } } pack(); // //setTitle(file.getName()); //to get the title of Video or Audio File } }; Time tm=new Time(30.4402403); Time tm1=new Time(5.7256199); player.addControllerListener(listener); player.setMediaTime(tm1); player.setStopTime(tm); // player.setMediaTime(new Time(5.0)); //player.setStopTime(new Time(73)); player.realize(); player.start(); } public static void main(String args[]) throws ClassNotFoundException { PlayVideo pv = new PlayVideo(); JFrame f = new JFrame("Lesson1"); f.addWindowListener(new WindowAdapter() { @Override public void windowClosing(WindowEvent e) { System.exit(0); } }); f.getContentPane().add("Center", pv); f.pack(); Dimension screenSize = Toolkit.getDefaultToolkit ().getScreenSize(); int w = 420; int h = 140; pv.setLocation(screenSize.width/2 - w/2, screenSize.height/2 - h/2); pv.setSize(w, h); pv.setVisible(true); } 1116
Can you give names of Container classes? 384
how can i use a nonsynchronized hashtable? 265
what is ACID test for fresh engineers??what is the pattern?? 579
how to use debug in my elipse to solve problems that exist in my project 266
which protocol it user to connect manage server to admin ? where it is defined ? 603
In how many ways we can install SSL certs in Websphere Application server and how can we troubleshoot incase of any issues/problems? 575
what is a non-repeatable read? 407
for example we are login into the irctc server from there it will go to the selected bank and deduct amount and come back to the irctc. so if we are developing this in java means will it be run on the same session. but as per my knowledge bank is separate and irctc is separate URL's so it will use two different sessions then how it is maintaining same session through out application and even it uses the payment gateway? how it is working can any one help me on that?? 573
What is files manifesting? 266
what is object slice? 274
How do u provide security to ur project?(Banking domain project) 718
What is the SimpleTimeZone class? 383
E-Mail New Answers        Answer Selected Questions