![]() |
|
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Member Join Date: Feb 2006 Location: India
Posts: 89
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 4 | hi friends 1 wat is the difference between weblogic 7.0 and weblogic 8.0? 2 can we decalre our own exception?if itsyes then how can we do it? 3 wat is the process of doing unit testing? can we do unit testing manually? Regards Qaisar |
| | |
| | #2 (permalink) |
| Moderator Join Date: Jun 2006 Location: India
Posts: 960
Thanks: 0
Thanked 37 Times in 32 Posts
Rep Power: 16 | hi gaiser, 1) As new versions release, there is differences in performance. One significant point to note is the JVM versions that are supported which significantly impact the application server performance. The new WLS 8.1 on the newest released 1.4.2 JVM is damn good. 2) Yes, we can declare ourown exceptions by using throw statement.. just go through this code All methods use the throw statement to throw an exception. he throw statement requires a single argument: a throwable object. Throwable objects are instances of any subclass of the Throwable class. Here's an example of a throw statement. throw someThrowableObject; Let's look at the throw statement in context. The following pop method is taken from a class that implements a common stack object. The method removes the top element from the stack and returns the object. public Object pop() throws EmptyStackException { Object obj;
__________________ \"WHEN GOING GETS TOUGH, ONLY THE TOUGH GETS GOING\" |
| | |
![]() |
| Tags |
| weblogic |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| More Interview Questions Here... |