You can do the steps in the programming guideE:\Program Files\JacORB-2.2.4\doc\ProgrammingGuide\ ProgrammingGuide.pdf

Generating the Java server from the idl1. First to generate the necessary .java files from the idl .For this first run antconfig.bat (in zip) fie and then from the command promt typeE:\Coding\corba\Javaserver>idl -d ./generated2 test1.idl

This will generate the necessar tao classses

2. Second import all these files o EclipseCreate an empty java project and use File -> Import o import the file system

3. Now youy can see that based on this idl there are two *POA classes definedStockPOA and Stock_FactoryPOA

We have to extend from the POA class and then implement the methods which were notimplemented.

A) For this create a class name 'StockImpl' and give the base class as StockPOA.You have to fill in the inplementation of the methods that eclipse has createdpublic class StockImpl extends StockPOA

B) Similary create a new class Stock_FactoryImpl with the base class as Stock_FactoryPOAand fill in the parts

Popular posts from this blog

For easily monitoring the JVM metrics there is no better tool than Java VisualVM or its older counterpart JConsole; These two tools comes with the Java JDK. So it is absolutely necessary that you copy a JDK version to some temp directory in which your server runs. {Make sure that you do not install the JDK / put the java executable in the path.}

Before going in JVM monitoring, it is essential to understand a little about Java's memory model.

Note - This article is written with HotSpot JVM in mind,which is one of the most commonly used one ; implemented by OpenJDK and Oracle - formerly from Sun. This is not the only one , notable being JRockit and others; and some details would change with a different JVM.

When you are running a Java Process in a Server you allocate the Memory for the Java Virtual Machine. This memory is split to process heap { what you give withe the Xmx Xms command}where it is again subdivided on generational basis (Young, Old) and the PermGen - which is grad…

Intermittent failure in Selenium Test cases ?
After clicking the drill down sometimes web-elements are not found causing all summary table test cases to fail.
Common Root Causes
1) Prefer Selection By.ID className then By.cssSelectior and only if all else fails use By.Xpath
Selection by CSS By.CSSSelector should be preferred over XPath as this is more stable as it is natively supported by browser . XPAth is an abstraction provided by Selenium and not as performant. If XPath is used make sure that you have hand written the XPath and it is performant and not generic in that it has to to brute force search through the entire DOM to find your element.
Where ever possible , use By.ID, else By.CSSSelector and in case of no other option use XPath after proper testing.
You can use FireFinder plugin for FireFox (first add FireBug) to test your CSS or Xpath (if there is no way you can select by CSS)
For example this XPath to finding the drill down element //*[@id='scTableTest_Site-PLMN-PL…