ElanBean for Pullout Menu          FileCB f1= new FileCB("ppage.html");
         FileCB f2= new FileCB("elan.html");
         FileCB f3= new FileCB("advantages.html");
         FileCB f4= new FileCB("coolst.html");
         TableCB es = ElanSoft.build_es_table();
         String   items[] = {"Pullout","ElanBeans","Advantages","Elansoft","CoolStuff"};
         String colors[]= {"#A5FED8","#A8BBFB","#FFC8A4","white","#FFCCCC"}; 
         Object contents[] = { f1, f2, f3, es,f4};

         PulloutCB po = new PulloutCB(5,items,contents,colors );
To override the defult size and position of the Pullout Menu use the following methods.

Check out the following ElanBeans

MouseOver Buttons
While the ElanBeans (WCB) code can easily be designed to provide many simple and intuitive methods for Data-Server to send data at run-time; The ElanBeans can easily be made intelligent to generate sophisticated Web Component code that may be custom made for each client.
Another biggest advantage of the methodology and ElanBeans toolkit is, it is easy to develop large set of 'intelligent' ElanBeans that can substantially reduce the maintenance and refining the Web Server to meet the constantly changing requirements and technologies. Each WCB can be independently refined both input side (methods to set data) and output side (i.e. Web Component’s style and functionality). For example, it is simple to design ElanBeans that are 'intelligent' enough to perform several tasks by using client’s profile and by simple switches. To name a few:
  • ElanBeans can produce HTML or XML component depending on the requesting client software capabilities and supporting features. For example, If client is not XML ready (**see note), the ElanBeans can generate HTML-code to present the component. By Using intelligent ElanBeans, one Servlet can generate web pages for, starting from sophisticated web clients to small Handheld devices with different requirements, capabilities, versions and each supporting different flavors of HTML/DHTML etc.
  • In case of XML data files, it can provide various views of the component depending on the requesting client. For example, for an employee component, except few managers, most users should not see the salary.
  • ElanBeans can be made intelligent enough to check for the completeness and errors in the run-time data send by the Data-Server, before building the component. They also free developers from several error-prone and confusing details like XML/HTML tags, syntax etc. Also they can provide excellent logging etc.
  • For the web site architects, each ElanBean provides one location to define policy, style and its behavior. ElanBeans can be designed to get style from configuration files or business logic modules. ElanBeans can be designed to provide consistent look and feel for each context, while differentiating between contexts as required.
  • ElanBeans can provide multi dimensional capabilities. For Example, To Internet enable the ERP packages like PeopleSoft's HR module, 3rd party vendors can build a set of ElanBeans along with "Enterprise Java Beans (EJB)" where end user can configure (or program) custom business rules. The ElanBeans can take input from both application server and the EJB to generate component code for WebPages.
What Are the Advantages over today’s most popular tools like ASP and CFML? While WebPages are perfectly suited for component oriented methodology, Microsoft’s ASP (Active Server Pages) promotes procedural coding that is old-fashioned and difficult to maintain. And since ASP is essentially a scripting tool, it offers fewer features and less flexibility than the standard languages. The following is the list of few advantages over the existing tools like ASP and CFML.
  •  Most users, it is not required to build own custom ElanBeans for their applications. We intend to provide large set of intelligent ElanBeans that can meet up to 90% requirements of large web applications. In that case, they don’t have to know differences between browser extensions and flavors of HTML/DHTML etc.
  • When XML become popular, the number of tags that can be present in the XML Pages is unlimited. This makes the ASP/CFML programming that many times more complex. In our method, few XML trained staff work on building and refining the XML ElanBeans; rest can use them to build web applications.
  • Using ASP or CFML, even it is not easy to support choice of multiple Web Components at a given location or multiple national languages. To support multi-lingual and/or customize some portions of the page using intelligent user session profiling requires large ‘if-then-else’ statements and increases the file-size, complexity and the maintenance cost etc.
  • It is not possible to partition an ASP file that generates an HTML file in to mini “ASP” files or independent modules. It is required to print each line of the HTML code and has no component abstraction and doesn’t support modular development.
Not yet convinced?  Checkout how easy it is to develop custom ElanBeans and to use them. The possible creative uses for the component-oriented WebPage generation go far beyond the simple examples and techniques presented in this brief introduction. We intend to provide required source code of the ElanBeans toolkit, so that you can change and/or build your custom ElanBeans easily. Let your imagination run wild!

The best software designs strive to increase the cohesion of individual components and reduce the coupling between them. In many respects, the ElanBeans’ concepts and techniques are simply adoption of best software development practices to web-server design.

We strongly believe that, by using ElanBeans, cost of development of complex Web-servers can be cut by about 30% and maintenance cost by over 40%. Total cost of development must include, the time wasted later trying to work around all the mistakes in partitioning the problem or fixing many bugs that might have avoided by first designing how components would fit together. Imagine additional benefits in developing multi-lingual Servlets that also support, starting from sophisticated web clients to small Handheld devices with different needs, capabilities, versions and each supporting different flavors of HTML/DHTML etc., with constantly changing technologies and needs.

ATFileCB: A Great way to partition large web-page.
ServletCB: A mini-servlet in the servlet.

Some ElanBean Utilities

NLstrCB: A simple National Language component for mutli-lingual Servlets.
Transutil: A program to create Servlet from HTML-Page.
Goback to ElanBeans Main Page