Index

images  A

images  B

images  C

images  D

images  E

Enterprise JavaBeans (EJBs)

    application server container

    asynchronous message process

    data

        BookViewNode

        build() method

        create() method

        FXCollections.observableArrayList() method

        SceneBuilder statement

        start() method

        TableView

        TabPane

    dataTable model

        AbstractFacade class

        ArrayList of HashMaps

        BookController

        BookController.getCustomBookList() method

        completeBookList field

        customBookList field

        customBookList property

        findAll() method

        List of entity objects

        List of Map objects

        obtainCustomList method

    Entity Manager

    local and remote interfaces

    object persistence

    object updation

    optional transaction (see Optional transaction life-cycle callbacks)

    query language

    scheduling timer service

        automatic timer

        calendar-based timer expressions

        e-mail

        org.javaeerecipes.jpa.timer.ProgrammaticTimerExample class

        org.javaeerecipes.jpa.timer.TimerBean file

        programmatic timer

        @Schedule annotation

        ScheduleExpression helper class

        types

    session beans with JSF

        AuthorWorkController

        AuthorWorkFacade session bean

        BookFacade class

        EJB 3.1+

        findBookById method

        HTML client

        javax.ejb.EJB annotation

        javax.naming.EJB annotation

        javax.naming.InitialContext interface’s lookup method

        @Local annotation

        @Remote annotation

        web-based client development

    singleton bean (see Singleton bean)

    stateful session bean (see Stateful session beans)

    stateless session bean (see Stateless session beans)

    technology

    types

Enterprise solution

    Groovy servlet

        BookstoreServletAction.groovy

        BookstoreServlet.groovy file

        groovy-all-xxx.jar file

        groovy.servlet.GroovyServlet

        MarkupBuilder

        ParameterExample.groovy

        print statement

        sql.eachRow method

    Jython servlet

        BookstoreJython.py servlet

        convertHTML function

        doGet and doPost

        org.python.util.PyServlet

        response.getWriter()

images  F

Facelets

    CSS

    custom resolver

    debugging view content

    definition language

    handling variable-length data

        Acme Bookstore application

        AuthorController

        data collection

        displayAuthor method

        markup and JSF tag

        object collection

        recipe04_05c.xhtml, bio view

        ui:repeat tag

    JSF 2.0+ application

    page template creation

        composition

        CSS style sheet

        custom_template.xhtml

        JSF managed bean

        mitigates issues

        NetBeans

        similar and function

        tag library

        template window

        ui:insert element

        ui:insert tag

        view definition language

        visual representation

    resources

        Author table

        css

        directory structure

        h:dataTable component

        JSF component

        libraries

        URL creation

    reusable template component

        Acme bookstore layout

        AuthorController.java

        composite component

        custom_template_search.xhtml

        default implementation method

        @ManagedProperty annotation

        opening and closing tag

        SearchController.java

        searchText and errorText property

        search.xhtml component

        search.xhtml document

        ui:component tag

        XHTML document

        XML namespace

    template view

        application

        AuthorController

        page control and template tags

        recipe04_01a.xhtml

        recipe04_01b.xhtml

        recipe04_01c.xhtml

        template clients

        ui:composition tag

        ui:define tag

    Tiles

images  G

images  H

images  I

images  J, K

Java Database Connectivity (JDBC)

    acceptChanges method

    API

    CachedRowSet object

    calling PL/SQL stored procedures

    CLASSPATH

    connection management

        code intensive

        CreateConnection class

        CreateConnection.java

        db_props.properties

        DriverManager

        getDsConnection

        org.javaeerecipes.chapter07

    CRUD database (see Create, retrieve, update, and delete (CRUD) database)

    database connection

        DataSource Classname

        DataSource object

        DriverManager

        DriverManager.getConnection() method

        getConnection() method

        Glassfish, connection pool

        InitialContext

        Oracle

        properties

        resource creation

        String

    database driver

    JSF views

        bookDao.queryBooks method

        BOOK database table

        dataTable component

        getCompleteBookList method

        queryBooks method

    moveToInsertRow method

    PL/SQL stored procedures

    query

    querying and storing

        CLOB data

        createClob method

        getAsciiStream method

        performCreate method

        readClob method

        string values

        VARCHAR fields

    RowSet objects (see RowSet objects)

    scrollable ResultSets (see Scrollable ResultSets)

    SQL injection (see SQL injection)

    SyncProviderException

    try-catch block

JavaFX

    Button node

    database

        BookView class

        cellValueFactory

        EntityManagerFactory

        findAllBooks() method

        getColumns().addAll() method

        observableArrayList method

        org.javaeerecipes.javafx.entity.Book

        org.javaeerecipes.javafx.session.AbstractFacade

        org.javaeerecipes.javafx.session.BookFacade

        persistence.xml

        PropertyValueFactory class

        TableColumn

        TableView

    EJB data

        BookViewNode

        build() method

        create() method

        FXCollections.observableArrayList() method

        SceneBuilder statement

        start() method

        TableView

        TabPane

    EventHandler

    “Hello World” application

    HelloWorld JavaFX main class

    JavaEERecipesFX

    javafx.application.Application

    javafx.scene.Node class

    javafx.scene.Scene object

    javafx.stage.Stage object

    Label node

    MVC

        AcmeBookstoreMainController class

        acme_bookstore_main.fxml

        <AnchorPane> element

        fx:controller

        FXML

        initialize() method

        javafx.scene.control.Label node

        javafx.scene.layout.AnchorPane class

        java.lang package

    NetBeans New Project dialog

    NetBeans Platform Manager

    NetBeans 7.x

    New JavaFX Application dialog

    REST services

        acme_bookstore_rest.fxml

        clientLabel

        createTask method

        EventHandler<WorksrStateEvent>

        javafx.application.Application class

        obtainData method

        RESTFulCientController

        service client

        user interface

    setOnAction() method

    setText() method

    start method

    VBox node

Java Message Service (JMS)

    create and send message

        run application

        using simplified API

        using standard API

    durable subscribers (see Durable message subscribers)

    message filtering

        run application

        sendMessage1 method

        sendMessage2 method

        string-based expressions

    queues

        browseMessages() method

        QueueBrowser object

        run application

    receive message

        run application

        using simplified API

        using standard API

        using standard JMS API

    resources

        connection factory resources

        destination resources

        using NetBeans IDE

        within GlassFish application server environment

    session

        connection

        createSession method

        message acknowledgment

        nontransactional

        run application

Java Persistence API (JPA)

    EclipseLink

    Hibernate

    KODO

    OpenJPA

    TopLink

    translating code

Java Persistence Query Language (JPQL)

    aggregate functions

    bulk updates and deletes

        Criteria API

        CriteriaBuilder

        Employee entity

        EmployeeSession bean

        javax.persistence.criteria.CriteriaDelete object

        javax.persistence.criteria.CriteriaUpdate object

        MetaModel API

        org.javaeerecipes.jpa.session.EmployeeSession.java class

    CriteriaQuery

    database stored procedures

    entity subclasses

    filtering query results

    functional expressions

        arithmetic functions

        authorList

        datetime functions

        findAuthorByLast method

        HAVING clause

        org.javaeerecipes.jpa.session.BookAuthorFacade class

        string functions

        strings

        WHERE clause

    joining entities

        instances retrieval

        rows retrieval

    more than one entity

        authorBooks SqlResultSetMapping

        @ColumnResult annotation

        @FieldResult annotation

        HashMap

        JSF dataTable source

        Object[] list

        org.javaeerecipes.jpa.entity.BookAuthor entity class

        org.javaeerecipes.jpa.session.BookAuthorFacade session bean

        @SqlResultSetMapping annotation

        string-based key

    native queries

        createNativeQuery method

        database records

        dynamic query

        getResultSet method

        javax.persistence.Query methods

        @NamedNativeQuery annotation

        org.javaeerecipes.jpa.entity.Book entity

        org.javaeerecipes.jpa.session.BookFacade bean

        SqlResultSetMapping

    ON conditions

    query execution

    querying all entity instances

        BookAuthor entity

        createQuery method

        CriteriaQuery object

        findAuthor method

        FROM clause

        javax.persistence.Query interface methods

        record

        ResultList

        SELECT clause

        TypedQuery object

    returning single object

JavaServer Faces (JSF)

    Ajax (see Ajax) arithmetic and reserved words

        EvaluationController

        JSF EL expressions

        working principle

    bean actions invoking

        f:viewAction facet

        JSF Life-Cycle Phases

        onPostback attribute

        preRenderView

        process validation phase

        String validateUser

    bookmarkable URLs

        authorList property

        f:viewParam tag

        org.javaeerecipes

        working principle

    check box

        attributes

        false value

        managed bean controllers

        populateNotificationTypes method

        recipe05_07.xhtml

        selectBooleanCheckbox component

        selectManyCheckbox component

        true value

    component and tag primer

        attributes

        binding components

        core tags

        HTML

    data collection

        attributes

        dataTable component

        f:facet tag

        h:column Attributes

        managed bean

        recipe05_10.xhtml

        styles.css sheet

    evolution

    FacesServlet

    file upload component

    graphics

    information message display

        h:message component

        Java EE 7 Recipes

        MessageController

        working principle

    input form creation

        h:form tags

        input component tag attributes

        inputHidden component

        inputSecret component

        inputText component

        inputTextarea component

        managed bean

        recipe05_01.xhtml

    invoke action methods

        action attribute

        actionListener method

        commandButton component

        commandLink component

        managed bean

        recipe05_02.xhtml

    JavaBeans

    library

    managed bean writing

        CalculationController

        JSF view

        Plain Old Java Object

        scopes

        string list creation

        working principle

    message updation

        FacesContext

        manage bean

        resource bundle creation

        working principle

    navigation

        action attribute, h:commandButton components

        conditional navigation

        faces-config.xml file

        h:commandButton components

        implicit navigation

        NavigationController

        techniques

        working principle

    NetBeans

        downloading and installing

        HelloWorldController

        index.xhtml file

    object list display

        h:dataTable components

        style sheet source

        working principle

    output components

        attributes

        graphicImage component

        link Component Additional Attributes

        managed bean

        outputFormat component

        outputLabel additional attributes

        outputLabel component

        outputLink additional attributes

        outputLink componenet

        outputLink and outputLabel components

        outputText

        outputText component

        recipe05_03.xhtml

    page expression evaluation

        immediate attribute

        recipe03_08.xhtml

        working principle

    page layout

        Cascading Style Sheets

        panelGrid components

        panelGroup component

        recipe05_09.xhtml

        ValueExpressions

    page pass parameters

        ArrayList

        Author class

        displayAuthor method

        JSF EL expression

        working principle

    radio button

    request-driven

    selection

        component attributes

        f:selectItem or f:selectItems tags

        itemValue and itemLabel attributes

        LinkedHashMap

        managed bean

        recipe05_05.xhtml

        SelectItem objects

        selectManyListbox component

        selectManyMenu component

        selectOneListbox component

        selectOneMenu component

    simple JSF application

        creation

        Java IDE

        JSF managed bean examination

        JSF managed bean field value display

        pre-JSF 2.0 environment

    sophisticated user interface

        AuthorController

        form id

        h:commandButton component

        h:dataTable

        h:graphicImage tag

        h:inputText component

        h:outputLabel tag

        working principle

        XHTML

    user input validation

        custom validator

        Employee class

        JSF managed bean

        JSF validator

        tags

        working principle

    validation

        constraint annotations

        email property

        FacesContext

        f:validateBean tag

        f:validateDoubleRange validator

        f:validateLength

        f:validateLongRange

        f:validateRegex validator

        f:validateRequired validator

        javax.faces.validator.ValidatorException

        recipe05_04.xhtml

        UIComponent

        validatePassword method

        validator attribute

    working principle

        Apply Request Values phase

        Facelets

        Invoke Applications phase

        JSF managed bean

        JSF parts

        Process Validations phase

        Render Response phase

        restore view

        Update Model Values phase

        web.xml file

JavaServer pages (JSP)

    business logic separation

        field’s getter method

        <jsp:useBean> element

        jsp:useBean element scopes

        RandomBean

    conditional expression

        code

        and expression

        functions.tld file

        isPrimitive function

        <jsp:useBean>

        JSTL

        static modifier

        String value

        taglib directive

        TLD

        typename field

    custom tag creation

        authorName attribute

        custom.tld TLD

        cust:signature element

        default signature

        doEndTag() method

        doStartTag() method

        doTag method

        getJspContext method

        <html> element

        javax.servlet.jsp

        JSP code

        JSP 2.0 simple tag support

        mapping

        MVC architecture

        PageContext’s getOut method

        short-name element

        Signature class

        SimpleTagSupport class

        tag-class element

    document creation

    EL expressions

        arithmetic expressions

        arithmetic operators

        ${ and } character sequences

        <c:if> tags

        conditional and/or arithmetic expressions

        conditional logic

        conditional page rendering

        implicit objects

        JavaBean property

        JSTL <c:if> tag

        JSTL tag library

        language

        reserved words

        ${ } syntax

        turn off

    embedding Java code

    error handling

    input form creation, database record

    life cycle

    parameter accessing, multiple pages

    records display, database table

        AuthorBean class

        Author class

        code

        getAuthorList method

        Java classes

        jsp:useBean element

        JSTL c:forEach element

        queryAuthors method

        var attribute

    scriptlets

        disabling

        embedded Java code

    static/dynamic pages embedding

    values setting/yielding

        accessor methods

        EasyBean

        EL expressions

        getFieldValue

        input form

        JavaBean class

        jsp:getProperty element

        jsp:setProperty element

        jsp:useBean element

        POST method

        setFieldValue

    web page development

        dynamic code

        getCurrentDate method

        JavaBean

        .jsp extension

        <jsp:useBean> tag

Java Web Services

    binding filters and interceptors

    consuming and producing, REST

    enterprise application development

    filtering request and responses

        binding filters and interceptors

        @BindingPriority annotation

        filters

        entity interceptors

    Java EE Project

    JAX-RS

    JAX-RS Client (see JAX-RS Client)

    JAX-WS

    JAX-WS Web Service (see JAX-WS web service)

    Jersey JARs

    RESTful

        @DELETE

        entity class

        @GET

        getUserMessage method

        Java class

        JavaEERecipes project

        NetBeans

        @Path annotation

        REST Service Annotations

        root resource class

    web service implementations

JSF

    autocompletion

    custom annotation class (see Custom annotation class)

    custom conversion

    customized data table

        CartController class

        h:dataTable component

        p:dataTable component

        p:rowEditor component

        PrimeFaces

        recipe06_16.xhtml

        RichFaces library

        RowEditEvent

        third-party component library

        updateRowData method

    HTML5 component

        cc:implementation tags

        cc:interface tags

        composite component

        Recipe 4

        recipe06_12.xhtml

        recipe06_18.xhtml

        taglib URI

        video component

        web components

    listener method

    managed bean scopes

        CartController

        cart.xhtml

        dataTable component

        review cart item

        @SessionScoped annotation

        shopping cart

    page flow development (see Page flow development)

    phase event

    system-level events

    viewAction component

JSON object

    building

        beginArray() method

        beginObject()

        JsonObjects

        JsonObjectBuilder

        JsonObjectBuilder.beginObject() method

        technicalReviewer objects

    reading from input source

    writing

images  L

images  M

images  N

images  O

Object-relational mapping (ORM)

    automatic schema generation

        annotations

        DDL script

        EJB 3.2

        NetBeans/Eclipse

        object-relational metadata

        PersistenceProvider generateSchema method

        properties

        SQL scripts

    creation and performing standard database transaction

    data type mapping

        CONTACT database table

        database column’s data type

        entity class creation

        Oracle and Java

    definition

    entity class creation

        annotations

        BOOK_AUTHOR database table

        camel-case lettering

        definition

        EJB technology

        java.io.Serializable interface

        javax.persistence.Entity annotation

        @Lob annotation

        @NotNull annotation

        String variable

        @Table annotation

    entity field

        bean validation mechanism

        data validation

        JavaScript field validation

        @Pattern annotation

        persistent field/property

        POJO

    entity objects

    @ManyToMany annotation

    ManyToMany relation

        cascade

        entity creation

        fetch

        @JoinTable annotation

        mappedBy

        owning entity

        persistent field/property

        targetEntity

    ManyToOne relation

        AuthorDetail object

        field/property

        persistent field or property

    named query

        BookAuthor entity class

        JPQL query

        @NamedQuery annotation

        persistence.xml file

        while loop

    @OneToMany annotation

    OneToMany relation

        AuthorDetail class

        AuthorDetail objects

        cascade

        fetch

        field/property

        nonowning entity

        orphanRemoval

        owning entity

        owning object

        targetedEntity

    One-to-One relation

        AUTHOR_DETAIL table

        Author entity

        cascade operation

        fetch

        mappedBy attribute

        @OneToOne annotation

        optional attribute

        owned relation

        unique identifier

    persistence unit creation

        database connection pool

        database transaction

        EntityManagerFactory object

        Java Transaction API/Resource-Local entity manager

        local JDBC connection

        persistence.xml code

        persistence.xml configuration file

        properties of element

        WAR/EAR file

    primary key value creation

        AuthorWorkPKEmbedded class

        AUTO value

        BookAuthor entity

        BOOK_AUTHOR_S sequence

        bookId and authorId columns

        embeddable techniques

        equals() method

        @GeneratedValue annotation

        @Id annotation

        ID column

        IDENTITY value

        javax.persistence.EmbeddedId annotation

        javax.persistence.IdClass annotation

        local JDBC database

        nonembedded technique

        persistent fields/property

        @SequenceGenerator annotation

        SEQUENCE value

        TABLE value

        unique identifier

Oracle Glassfish application server

    administrative console

        administrator password

        Common Tasks panel

        domain panel

        General Information panel

        login

        main screen

        Resources menu

        “server” menu option

    administrative user password

        default administrator password

        domain menu

        New Administrator Password form

    database resource

        additional JDBC connection properties

        connection pool

        JDBC Resources

        new JDBC connection pool

        opening and closing connections

        RDBMS

        types

    forms-based authentication

        database table

        JDBC Security Realm Class

        login form

        new security realm

        realm listing

        security configuration

        sun-web.xml configuration file

    installation

        Config Results screen

        directory screen

        Glassfish v4 ZIP archive

        graphical user interface

        Java EE 7 development

        typical Installation

        update tool screen

        ZIP archive

    JavaMail

    WAR archive

        Applications panel

        autodeployment option

        deploy applications/modules

        deployed applications

        EAR files

        Java web application deployment

images  P

images  Q

images  R

images  S

Security

    authentication backend

        Enterprise JavaBean

        HTTP request login

        JSF Managed Bean

        User entity

    basic web application authentication

        @DeclareRoles and @RolesAllowed annotation

        forms-based security

        web-resource-collection element

        web.xml deployment descriptor

        XML configuration

    custom security certificates

        CSR

        Glassfish application server

    Glassfish

        authentication and access purposes

        edit realm form

        file users form

        file users list

        New File Realm User form

        realms form

    JSF application

        Boolean

        conditional logic

        managed bean controller

        PrimeFaces panel component

    LDAP server

        form-login-page and form-error-page value

        New LDAP security realm

        security realm, Glassfish

    programmatic login form

        Acme Bookstore template

        creation

        JSF and Facelets

Servlet

    attribute changes

    beingDestroyed value

    browser

    compiling

    container events

    deploying

    destroy method

    develop

        configuration and mapping

        doGet and doPost methods

        GenericServlet

        HttpServlet class

        HttpServletRequest object

        IDE

        init method

        javac command-line utility

        javax.servlet

        processRequest method

        request-response programming model

        service method

        ServletConfig interfaces

        simple servlet creation

        SimpleServlet.java file

    dispatching requests

    dynamic content

    file download

    filtering web requests

    handling requests and responses

    initialization parameters

    Java enterprise environment

    Java web applications

    JSF

    JSP

    non-blocking I/O

        AcmeReaderServlet

        AcmeReadListenerImpl class

        AsyncContext.complete method

        onDataAvailable method

        ReadListener

        ServletInputStream

        ServletOutputStream.canWrite method

        WebSockets protocol

        WriteListener

    package

    redirect

    session attributes

    session listener

    Sun Microsystems

    @WebServlet annotation

images  T

images  U

images  V

images  W, X, Y, Z

WebSockets

    creation

    full-duplex communication mechanism

    sending messages

        alert dialog

        bookChatRelay function

        close() method

        if-statement

        JavaScript code

        JavaScript WebSocket object events

        onclick attribute

        onOpen handler

        readyState values

        send() method

        source listing

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.205.27