Java EE 7 Development with WildFly, IT books
[ Pobierz całość w formacie PDF ]
//-->www.it-ebooks.infoJava EE 7 Development with WildFlywww.it-ebooks.infoTable of ContentsJava EE 7 Development with WildFlyCreditsAbout the AuthorsAbout the Reviewerswww.PacktPub.comSupport files, eBooks, discount offers, and moreWhy subscribe?Free access for Packt account holdersInstant updates on new Packt booksPrefaceWhat this book coversWhat you need for this bookWho this book is forConventionsReader feedbackCustomer supportDownloading the example codeErrataPiracyQuestions1. Getting Started with WildFlyAn overview of Java EE and WildFlyWildFly and Enterprise Application PlatformWelcome to Java EE 7JavaServer Faces 2.2 – JSR 344Enterprise JavaBeans 3.2 – JSR 345Java Persistence API 2.1 – JSR 338Contexts and Dependency Injection for Java EE 1.1 – JSR 346Java Servlet API 3.1 – JSR 340JAX-RS, the Java API for RESTful Web Services 2.0 – JSR 339Java Message Service 2.0 – JSR 343Bean Validation 1.1 – JSR 349Concurrency utilities for Java EE 1.0 – JSR 236Batch applications for the Java Platform 1.0 – JSR 352Java API for JSON Processing 1.0 – JSR 353Java API for WebSocket 1.0 – JSR 356New features in WildFlyInstalling the server and client componentsInstalling Java SEwww.it-ebooks.infoTesting the installationInstalling WildFlyStarting WildFlyConnecting to the server with the command-line interfaceStopping WildFlyLocating the shutdown scriptStopping WildFly on a remote machineRestarting WildFlyInstalling the Eclipse environmentInstalling JBoss ToolsAlternative development environmentsInstalling MavenTesting the installationSummary2. Your First Java EE Application on WildFlyWildFly 8 core conceptsThe WildFly 8 directory layoutManaging the application serverManaging WildFly 8 with the web interfaceLaunching the web consoleDeploying your first application to WildFly 8Advanced Eclipse deployment optionsManaging deployments with the web consoleChanging the deployment scanner propertiesDeploying applications using the command-line interfaceDeploying applications to a domainSummary3. Introducing Java EE 7 – EJBsEJB 3.2 – an overviewDeveloping singleton EJBsConfiguring the EJB project object module (pom.xml)Coding our EJB applicationControlling bean concurrencyUsing bean-managed concurrencyCooking session beansAdding a stateless beanAdding a stateful beanDeploying the EJB applicationCreating a remote EJB clientConfiguring the client’s project object moduleCoding the EJB clientAdding the EJB client configurationRunning the client applicationAdding user authenticationwww.it-ebooks.infoUsing the EJB timer serviceProgrammatic timer creationScheduling timer eventsAdding asynchronous methods to our EJBsUsing fire-and-forget asynchronous callsReturning a Future object to the clientSummary4. Learning Context and Dependency InjectionIntroducing Contexts and Dependency InjectionNamed beansCDI scopesWildFly CDI implementationRethinking your ticketing systemAdding the required dependenciesCreating the beansBuilding the viewJSF 2 facet suggestionsGetting ready to run the applicationCombining the scheduler into our applicationInstalling RichFacesMaking your application richRunning the applicationCreating interceptorsAre EJBs and JSF Managed Beans obsolete?Summary5. Combining Persistence with CDIData persistence meets the standardWorking with JPAAdding persistence to our applicationSetting up the databaseInstalling the JDBC driver in WildFlyUsing the command-line interface to create a new data sourceCreating the Maven projectAdding the Maven configurationCooking entitiesAdding Bean ValidationConfiguring persistenceAdding producer classesCoding queries for your applicationAdding services to your applicationAdding a controller to drive user requestsCoding the JSF viewRunning the exampleSummarywww.it-ebooks.info
[ Pobierz całość w formacie PDF ]