how to handle exceptions in ejb?
Answer / guest
by using try catch block we can handle the Exception in the
EJB ,checked Exception and Un checked Exception are the both
exception are occurred in the EJB files to control we can
handle the Exception
| Is This Answer Correct ? | 0 Yes | 3 No |
What do you understand by garbage collection in Java? Can it be forced to run?
What is currentthread()?
What is stringbuffer in java?
Why to give the file name same as the public class name in java?
Is there any way to find whether software installed in the system is registered by just providing the .exe file? I have tried the following code but its just displaying the directory structure in the registry. Here the code : package com.msi.intaller; import java.util.Iterator; import ca.beq.util.win32.registry.RegistryKey; import ca.beq.util.win32.registry.RootKey; public class RegistryFinder { public static void main(String... args) throws Exception { RegistryKey.initialize(RegistryFinder.class.getResource("jRe gistryKey.dll").getFile()); RegistryKey key = new RegistryKey(RootKey.HKLM, "Software\\ODBC"); for (Iterator<RegistryKey> subkeys = key.subkeys(); subkeys.hasNext();) { RegistryKey subkey = subkeys.next(); System.out.println(subkey.getName()); // You need to check here if there's anything which matches "Mozilla FireFox". } } }
What is final int?
Is class forname reflection?
Can a source file contain more than one class declaration?
What is update method called?
How we can generate random numbers in java?
What one should take care of, while serializing the object?
What is a J2EE component? List out all the component?