DEV Community

Orestis Pantazos
Orestis Pantazos

Posted on

3 1

🔥 JavaServer Faces Cheat Sheet

The JSF framework supports these annotations but are deprecated in JSF 2.3 and will not be used anymore.

Annotation Annotation Class
@RequestScoped javax.faces.bean.RequestScoped
@SessionScoped javax.faces.bean.SessionScoped
@ApplicationScoped javax.faces.bean.ApplicationScoped
@ViewScoped javax.faces.bean.ViewScoped
@NoneScoped javax.faces.bean.NoneScoped
@CustomScoped(value="#{someMap}") javax.faces.bean.CustomScoped

It is recommended to use JSF CDI annotations as shown in the following table:

Annotation (CDI) Annotation Class
@RequestScoped javax.enterprise.context.RequestScoped
@SessionScoped javax.enterprise.context.SessionScoped
@ApplicationScoped javax.enterprise.context.ApplicationScoped
@FlowScoped javax.faces.flows.FlowScoped
@Dependent javax.enterprise.context.Dependent

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more