-
1. Re: Welcome!
thejavafreak Dec 23, 2008 5:54 AM (in response to gavin.king)Is it a Seam replacement? Can we use it without Seam?
-
2. Re: Welcome!
nickarls Dec 23, 2008 7:23 AM (in response to gavin.king)There is some information on this at the end of the page here
-
3. Re: Welcome!
gavin.king Dec 23, 2008 8:13 AM (in response to gavin.king)Not exactly - however, Web Beans will form the core of Seam3.
-
4. Re: Welcome!
thejavafreak Dec 24, 2008 3:28 AM (in response to gavin.king)
Gavin King wrote on Dec 23, 2008 08:13:
Not exactly - however, Web Beans will form the core of Seam3.I'm trying to get the gist of it. From your point of view, for a new project would it be suitable to use WebBeans instead of Seam2 ?
Regards.
-
5. Re: Welcome!
gavin.king Dec 24, 2008 7:10 AM (in response to gavin.king)At this moment, probably not, since Web Beans is in alpha, and because most of the features of Seam don't yet exist for the Web Beans environment. Eventually Seam3 (which will be built around Web Beans) will replace Seam2. Somewhere along the path between this alpha release and the GA release of Seam3 (hopefully sooner rather than later), you will be able to start using Web Beans for serious projects.
OTOH, right now is your opportunity to influence the development of the Web Beans standard, so please take the time to try out the RI. We need feedback!
-
6. Re: Welcome!
kks_krishna Jan 1, 2009 4:00 AM (in response to gavin.king)HI Gavin,
I have written introduction article on Web Beans here:
http://www.javabeat.net/articles/98-what-is-web-beans-1.htmlI would like to write one example program for my next article on web beans. So, I have downloaded JBoss 5.0. Can I write Web Beans in the 5.0 version. Is there any other things I have to download?
-
7. Re: Welcome!
gavin.king Jan 1, 2009 5:41 AM (in response to gavin.king)Yes, you have to download the Web Beans RI alpha and install it in JBoss. There are instructions in the Web Beans documentation.
-
8. Re: Welcome!
kks_krishna Jan 1, 2009 5:54 AM (in response to gavin.king)HI Gavin,
I have downloaded and installed. But when I am running the example program I am getting the following exception:
10:07:48,954 ERROR [[/Web]] Exception sending context initialized event to listener instance of class org.jboss.webbeans.servlet.WebBeansListener java.lang.IllegalStateException: Cannot load Web Bean discovery plugin! Check if Web Beans is properly installed into your container at org.jboss.webbeans.servlet.ServletBootstrap.<init>(ServletBootstrap.java:80) at org.jboss.webbeans.servlet.ServletLifecycle.beginApplication(ServletLifecycle.java:51) at org.jboss.webbeans.servlet.WebBeansListener.contextInitialized(WebBeansListener.java:48) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460)
-
9. Re: Welcome!
gavin.king Jan 1, 2009 6:05 AM (in response to gavin.king)It says:
Check if Web Beans is properly installed into your container
Did you follow all the instructions, and install the Web Beans plugin correctly?
-
10. Re: Welcome!
kks_krishna Jan 1, 2009 6:11 AM (in response to gavin.king)I have followed installing. But I got the error while updating using ant as follows:
[artifact:dependencies] Alternatively, if you host your own repository you can deploy the file there: [artifact:dependencies] mvn deploy:deploy-file -DgroupId=org.jboss.ejb3 -DartifactId=jboss-ejb3-plu gin -Dversion=1.0.0-Alpha1 -Dclassifier=installer -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepo sitoryId=[id] [artifact:dependencies] [artifact:dependencies] Path to dependency: [artifact:dependencies] 1) org.apache.maven:super-pom:jar:2.0 [artifact:dependencies] 2) org.jboss.ejb3:jboss-ejb3-plugin:jar:installer:1.0.0-Alpha1 [artifact:dependencies] [artifact:dependencies] ---------- [artifact:dependencies] 1 required artifact is missing. [artifact:dependencies] [artifact:dependencies] for artifact: [artifact:dependencies] org.apache.maven:super-pom:jar:2.0 [artifact:dependencies] [artifact:dependencies] from the specified remote repositories: [artifact:dependencies] central (http://repo1.maven.org/maven2), [artifact:dependencies] repository.jboss.org (http://repository.jboss.org/maven2) [artifact:dependencies] [artifact:dependencies] BUILD FAILED D:\krishna\webbeans-1.0.0-SNAPSHOT\jboss-as\build.xml:83: Unable to resolve artifact: Missing: ---------- 1) org.jboss.ejb3:jboss-ejb3-plugin:jar:installer:1.0.0-Alpha1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.jboss.ejb3 -DartifactId=jboss-ejb3-plugin -Dversion=1.0.0-Al pha1 -Dclassifier=installer -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.jboss.ejb3 -DartifactId=jboss-ejb3-plugin -Dversion=1.0.0-Alph a1 -Dclassifier=installer -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven:super-pom:jar:2.0 2) org.jboss.ejb3:jboss-ejb3-plugin:jar:installer:1.0.0-Alpha1 ---------- 1 required artifact is missing. for artifact: org.apache.maven:super-pom:jar:2.0 from the specified remote repositories: central (http://repo1.maven.org/maven2), repository.jboss.org (http://repository.jboss.org/maven2) Total time: 1 minute 25 seconds D:\krishna\webbeans-1.0.0-SNAPSHOT\jboss-as>ant update -Djboss.home=D:\JBoss-5.0.0 Buildfile: build.xml install-jboss-ejb3-update: [artifact:dependencies] Downloading: org/jboss/ejb3/jboss-ejb3-plugin/1.0.0-Alpha1/jboss-ejb3-plugin-1.0. 0-Alpha1.pom from repository.jboss.org [artifact:dependencies] Downloading: org/jboss/ejb3/jboss-ejb3-plugin/1.0.0-Alpha1/jboss-ejb3-plugin-1.0.
-
11. Re: Welcome!
gavin.king Jan 1, 2009 6:13 AM (in response to gavin.king)Are you following these instructions exactly?
-
12. Re: Welcome!
kks_krishna Jan 1, 2009 6:16 AM (in response to gavin.king)Yes..I am following that instructions.