To finish this simple JSF application, you will add code in the Java source file,
PersonInfo.java. The sample code calls the business method
saveInfo that you added to the bean in an earlier cue card. The method takes two parameters and then, instead of saving the data, simply writes the data to the console.
To edit the file, you will select the PersonInfo.java tab to at the top of the editor window to bring the source editor forward.
When developing a real application in JDeveloper, you will need to consider how to persist data in a meaningful and efficient way. You may also encounter situations where using a simple JavaBean for the data model is not sufficient, or you may need to aggregate data from a variety of sources. In these cases, you can work with data sources based on entirely different business service technologies, for example:
Whether you use JSF with JavaBeans, Enterprise JavaBeans (EJB), Oracle TopLink, or Web services in the model layer, JDeveloper's productive coding and data binding tools enable you to implement the application back end and integration code safely and easily.
When you want to work with a specific business service, you can open the New Gallery and use the provided wizards and dialogs to create or, in the case of web services, expose the entities in your model project.
Copyright © 1997, 2009, Oracle. All rights reserved.