background preloader

JavaServer Faces (JSF) Tutorial Net.

On Javascript and JSF I am pretty pleased with myself - I got my Google Maps application to work, almost on the first try after adding the required code. Of course, I was using Firefox for testing, and forgot to try it out in Internet Explorer. So I walked into a colleague's office and said "Have a look at THIS!" Let me show you a little of the code that makes this work. The first script is Google's library. Let me draw your attention to the third script. Finally, I have a function, "addFacilitiesToMap" which does just that - puts the icons for the locations in my search results on the map. Introducing JavaServer Faces JavaServer Faces (JSF) is a great server side Java technology in the field of web application development. JSF is developed by Sun Microsystems. It provides the event-driven, component-based technology and simplifies building user interfaces for java server application. The JSF specification defines a set of standard UI components and provides an Application Programming Interface (API) for developing components and extensions of the existing standard UI components. Why JSF? Let us first analyze why JSF is so hot these days. Tedious and repetitive coding - Previous technologies like JSP make the programmer do a lot of tedious and repetitive coding. Directly working with HTTP request and response - Using these technologies, programmers directly work with HTTP request and response objects and manipulate the data. Non availability of IDE - Non availability of IDE is another major drawback which affects the programmers' productivity and also the development cost of the project increases.

Technology Blog » Introducing Dynamic favicons in JSF applications Being in New Orleans for a festive conference like ODTUG brings me in a mood to write about something colorful – even if not very useful. And perhaps every now and again you may find it useful after all. You probably know of favicons – if not the word itself. In this article, I will demonstrate how easy it is to add dynamic – programmatically set – favicons. This allows you to have the favicon depend on dynamic conditions, such as the data currently displayed on the page or even the time of day. Here we see a simple example of a Departments overview page for which the favicon has been set to a cute little home icon: When we select an employee who is a manager and then press the Employee Details button, we are taken to the Employee page with a manager-like icon displayed as favicon: When we select an employee with a different job or change the job of the selected employee and press submit, the page is displayed with a ‘normal employee’ favicon:

JavaServer Faces (JSF) Tutorial Net. » JSF- J2EE Tutorials, J2EE Interview Questions,JSF Tutorials, Struts Tutorials,Hibernate Tutorials, JSP Tutorials, EJB Tutorials, JMS Tutorials, SOA Tutorials, Java Tutorials, J2EE Study Materials,J2EE PDF Guides,Ajax Tutorials , J2EEBrain.com Learn the basics of JSF Learn the life cycle of JSF This means that the URL of every request must contain the /faces/ pattern, as specified in the url-pattern element under the servlet-mapping element. Understand the JSF Structure Learn how to use JSF backing bean and where backing beans can be used for a JSF application. Understand how Binding is done in JSF. This tutorial provides a step by step guide to develop a JSF case study. More topics on JSF Get the latest JSF interview questions and answers J2EE Interview Questions Here you will find a whole lot of Java/J2EE interview questions . Learning EJB 3.0 EJB 3.0 - Basics Learn basics of EJB 3.0 Creating Entity Beans... Learn Hibernate step by step Hibernate Basics Understand the basics of Hibernate. J2EE PDF Downloads JSP, Servlets and MVC Struts study guides SOA Study guides J2EE and... This page on Spring tutorial provides the basics of Spring.Spring is an open source framework...

Exporting DataTable To MS-Excel - Myfaces Wiki Export with ExcelExport Component The easiest way to do the export is to use the ExcelExport component. Export Manually This is a quick how to for getting the contents of an html table rendered with the dataTable control to be exported to MS-Excel. Step 1. Step 2: Capture this dataTable into a string variable in a session bean using the buffer control. Step 3: Add a command link that will call a method in your session bean to export your html dataTable out to excel. Below is what your export session bean might look like. The first exportHtmlTableToExcel just sends what was captured by the buffer control back out to the users and changes the content type to application/vnd.ms-excel which should cause Excel to launch if its installed on the users PC. The second method will give you a bit more control. Now, this second method may not be the best way to approach this problem but it does work and can serve as a good starting place for your own export method.

java sound playing in jsf page Microsystems Product Documentation Oracle acquired Sun Microsystems in 2010, and since that time Oracle's hardware and software engineers have worked side-by-side to build fully integrated systems and optimized solutions designed to achieve performance levels that are unmatched in the industry. Early examples include the Oracle Exadata Database Machine X2-8, and the first Oracle Exalogic Elastic Cloud, both introduced in late 2010. During 2011, Oracle introduced the SPARC SuperCluster T4-4, a general-purpose, engineered system with Oracle Solaris that delivered record-breaking performance on a series of enterprise benchmarks. Oracle's SPARC-based systems are some of the most scalable, reliable, and secure products available today. Sun's prized software portfolio has continued to develop as well, with new releases of Oracle Solaris, MySQL, and the recent introduction of Java 7. Oracle invests in innovation by designing hardware and software systems that are engineered to work together.

Matt Raible's discussions on Java and Web Development

Related: