I am new to weld and consider what environment is useful for a web-application using CDI (Weld). I want to use JSF or Wicket for presentation and JPA/Hibernate for my persistence layer (including Transaction-Management). The obvious scenario is to use a JBoss or Glassfish application server with EJB3 surrounding, but is there not a chance to use tomcat or other “lightweight” servlet-containers in a sensible way?
Or is it absurd to try to develop a CDI-webapplication without surround of EJB/Seam?
I am interested in some user-experience!
Useful environment for CDI / weld web-applications
634 Views Asked by mastercrusty At
1
There are 1 best solutions below
Related Questions in TOMCAT
- Unable to compile the class for JSP in tomcat 8.5.95
- detect catalina.out log path from a running tomcat on non-Windows
- Tomcat 9.0.80 with Open JDK (JRE only) v16.0.2 crashing/unresponsive several times a day with load: Thread Count hits Max and All Threads are Busy
- JAX-RS webapp deployed to Tomcat returns HTTP 404 error while it works fine in Eclipse
- Illegal access: this web application instance has been stopped already. Could not load [org.apache.logging.log4j.message.SimpleMessage]
- File Upload Handling: Inconsistent HTTP Response Codes for Different File Sizes with Exception in Tomcat
- Don't get any public folder when deployment in svelte kit app
- Accessing solr web interface behind reverse proxy returns "Content Encoding Error"
- java.lang.UnsatisfiedLinkError: org.apache.tomcat.jni.SSL.renegotiatePending(J)I
- Cannot decrypt the password in application.yml properly if war file in the tomcat/webapps
- how to deploy mock json data api's(json-server) and angular 17 application in apache tomcat server 9 version
- version compatibility issue between spring boot, struts2-core and tomcat-embed-jasper in web application
- Is there any possibility to use JTA with Spring Framework 6 and Tomcat or Payara?
- Eclipse issue with publishing to Tomcat server
- null in Camunda variables
Related Questions in EJB-3.0
- WebSphere Liberty BASE Remote EJB call failed in JDK 17
- Error initializing TransactionManager. Could not instantiate TransactionConfig
- Implementing 2 phase commit in Websphere application server
- JPA / Hibernare do not insert / update in Child table if migrating from BMP to CMP
- How to change EJB Module Version, if ejb-jar.xml is deleted to migrate module from 2.x to 3.0
- JBoss subsystem remoting and ejb3 error WFLYCTL0013
- Error invoking methods on EJB in WebLogic 12c: AOP configuration issue
- EJB deployed on WebLogic reads and processes messages from queues, but they don't disappear
- Can SpringBeanAutowiringInterceptor be removed from the code if we create the bean manually and inject it?
- EJB client jar causes TOMEE9 to deploy EJB
- Call EJB through a forward proxy
- Class Cast Exception between Spring Bean and EJB 3 - Jboss7
- In EJB 3.0 , PostConstruct not called
- Deploying ejb on Jakarta ee9.1 results into error
- ERROR: Can not deserialize instance of java.lang.String out of START_OBJECT token
Related Questions in CDI
- Dynamic bean registration Quarkus
- quarkus smallrye reactive messaging - unittest
- Java BatchProperty possible as List<String>?
- Writing unit test for Azure Service Bus Java SDK Queue listener
- Quarkus CDI: lookup and startup event
- Java - @Inject - Nullpointer "this.xxx is null"
- A strange behavior is observed when using CDI beans with session scope in conjunction with the session-cache feature of OpenLiberty
- Using PrettyFaces to Manage JSF Conversation ID Without It Being Included in the URL on Postback
- Injecting Spring Bean into CDI - Creates new instance
- Is EntityManager injected with @PersistenceContext to a @RequestScoped CDI bean thread-safe?
- How to inject HttpServletRequest in JAX-RS resource in order to get client IP
- Jakarta CDI force bean construction/register legacy event listeners
- Injecting ApplicationScoped bean into Web Filter results in null object
- Is there a way to register bean without any @Produces and ect annotations Quarkus
- dynamic cdi with @Any
Related Questions in JBOSS-WELD
- migration to Tomcat9, Java17, Jersey, Weld
- Relational database relations for welded seams
- weld-junit5 with Java 17
- How can I exclude/remove a CDI extension that is added through a 3rd party jar?
- @RequestScoped bean different on CDI.select in same HTTP Request flow
- What is the mental model I should have for CreationalContexts?
- Is it possible to create a CDI Event factory?
- How do I weld two anchored parts together?
- Unable to deactivate context org.jboss.weld.module.web.context.http.LazyHttpConversationContextImpl when destroying request HttpServletRequestImpl
- WELD-001408: Unsatisfied dependencies for type DataSource with qualifiers @Named at injection point [BackedAnnotatedParameter]
- JBoss + RestEasy - WELD-001318: Cannot resolve an ambiguous dependency between Managed Bean MultipartFormDataReader
- Using Weld SE and CDI in IntelliJ
- where are @Parameters loaded from when bootstrapping in SE environment?
- JSF 2.3 CDI with spring beans
- is there a way to intercept the begin and end Conversation in CDI?
Related Questions in JSR299
- Spring MVC and CDI (Weld)
- Weld @Inject ApplicationScope bean creates new instance in every inject point
- Errai, CDI, Netbeans warnings and beans.xml
- If my object is produced by a producer method, will its initializer methods be called automatically?
- How do I force usage of a CDI producer method?
- For CDI injection, do I need META-INF/beans.xml in the producer archive AND the injectee archive?
- How to inject objects of the same class with different scopes?
- Fire event with subclass runtime type
- How to inject String constants easily with Weld?
- Useful environment for CDI / weld web-applications
- Why use @PostConstruct?
- Can Spring understand @Inject replacing Weld as a JSR-299 implementation?
- Where should I declare my CDI resources?
- Whats the relationship between Spring and javax.enterprise.inject?
- How to inject beans from external libs with CDI?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There is the unportable extension Servlet support for Weld.
Here you can find how to setup the environment in order to have CDI working on tomcat.
(As a sidenote, I'd share my disappointment that CDI hasn't actually been specified so that it can run in any environment. So (as you can see on the above page) many unportable extensions start to appear, and that's exactly what the JBoss guys are accusing spring of)