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
633 Views Asked by mastercrusty At
1
There are 1 best solutions below
Related Questions in TOMCAT
- Best way to pass an environment variable to several config files
- Openshift context path
- KeyStore file is not found in jar, although present in jar
- phpseclib of how to get PID and kill
- Unable to connect database of lamp instance from servlet running on tomcat instance of google cloud
- Spring and Tomcat: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
- How can I get a custom header from the client in Tomcat?
- why lost Mysql connection pool after a period?
- Eclipse Java EE + Bitnami Tomcat Stack
- Service not starting using Spring-boot during integration tests
- Image not loading in web page and says 404 error
- Maven Tomcat plugin - 404 WebServlet not found
- How to deploy a spring boot MVC application in traditional tomcat webapps folder?
- Tomcat Manager is not accessible in multi-domain configuration
- JSP return Jasper Exceptions on my friend's pc's when it works on mine
Related Questions in EJB-3.0
- EJB Lookup Issue with WebSphere Application Server 6.1
- Inject a parameter from client to ejb bean in the context
- Jboss 6.3: Stateful bean: cannot get the container to hold conversational state
- Exception in using appclient jar in EJB 3 :javax.ejb.EJBException: java.rmi.MarshalException:
- ear deployed successfully but context missing in jboss as 7
- state for one or more table in DB with EJB3
- Can I call from one ejb3 session bean method to other method in same session bean ?
- havaing error in jpql query
- can I use the same EntityManager (same PersistenceContext) to persist a few EntityBean of different types
- 2 BMT ejbs 1 single TX = impossible?
- Glassfish 3.0: Exception while deploying ejb module...Invalid ejb j ar: it contains zero ejb
- @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) doesn't work
- Aspectj : deploying aspects in an existing web application
- IllegalArgumentException: Invalid ejb jar: it contains zero ejb
- EJB3.0 with Hibernate JPA
Related Questions in CDI
- Spring-boot+JPA EntityManager inject fails
- EJB injection fails in custom ConstraintValidator on JPA persist
- JBoss and CDI Producer
- Custom scope in CDI seems to require beans.xml
- Is @DependsOn necessary for another CDI bean that is injected?
- CDI - ContextNotActiveException - WebBeans context with scope type annotation @RequestScoped does not exist within current thread
- Fully disable Weld JSF integration in Wildfly 8.2
- Use JSF, JPA, JTA, JAAS, CDI, Bean Validation with Tomcat?
- How to create JBoss EAR project with JPA, EJB and CDI elements
- Validation Error: Value is not valid with CDI
- How to inject EmtityManager to BaseDao in wildfly8?
- Transaction Interceptor CDI JPA JavaSE
- OSGI+CDI: strange behaviour with system printers detecting
- How to hold values in a CDI conversion scope?
- @InterceptorBinding / CDI/ EJB 3.2 - problems with injection
Related Questions in JBOSS-WELD
- Using dependency injection in an existing project
- JBoss Weld @Any Instance do not find all instances
- How can the class that @Injects a @Dependent class pass information to its constructor?
- View Scope in CDI Weld
- What are the best debugging tricks with Weld/CDI?
- Inject a stateless EJB with @Inject into CDI Weld ManagedBean (JSF 1.2 EJB Application on jboss 6 AS)
- Integrate Weld CDI into a JSF 1.2 EJB Application on jboss 6 AS
- What is Weld, JSR-299?
- How to specify interceptor at inject time
- How to use inheritance and lists of CDI events?
- Inject list of service objects in CDI (Weld)
- Error in private access of CDI injected outer class from static inner class
- Wildfly 8.2: component.CREATE is missing
- Relational database relations for welded seams
- CDI injection of string values from XML / deployment time specification of values
Related Questions in JSR299
- 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?
- Spring MVC and CDI (Weld)
- Why use @PostConstruct?
- how to instantiate more than one CDI/Weld bean for one class?
- How to inject objects of the same class with different scopes?
- Errai, CDI, Netbeans warnings and beans.xml
- Can Spring understand @Inject replacing Weld as a JSR-299 implementation?
- How to inject beans from external libs with CDI?
- Whats the relationship between Spring and javax.enterprise.inject?
- Where should I declare my CDI resources?
- Fire event with subclass runtime type
- Useful environment for CDI / weld web-applications
- How to inject String constants easily with Weld?
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 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)