Interface21, the open source Java Spring start-up, has fetched $10 million in Series A financing from Benchmark Capital.
The money is earmarked for product development, sales and marketing, and fleshing out its support infrastructure.
Benchmark has been an investor in Red Hat, MySQL and JBoss, and it thinks Interface21 and its Spring Framework are in for "near ubiquitous adoption."
Interface21 CEO Rod Johnson was the founder of the Spring Framework.
About Java News Desk JDJ News Desk monitors the world of Java to present IT professionals with updates on technology advances, business trends, new products and standards in the Java and i-technology space.
en3rgizer wrote: to: Zakaria Chakih
if you provide me your email, i could send working project to you. or feel free to write me a letter to en3rgizer[at]mail[dot]ru
Zakaria chakih wrote: Hallo,
I tryed to in install mypetstore as described above but i dosen't function. i get all time the failure:
[ServletException in:/layout.jsp] javax.servlet.jsp.JspException: javax.faces.el.PropertyNotFoundException: Can't instantiate class: 'Can't get value from value reference expression: '#{serviceLocatorBean}'.'.'
hat anyone an idea why??
danny wrote: hi,i've downloaded the program in zip file.when i try to run the war file it show the error below.what causes the error?i even try to put the common.pool jar but still not working.anyone know what's wrong?
16:37:04,369 INFO XmlBeanDefinitionReader:118 - Loading XML bean definitions from resource [/WEB-INF/applicationContext.xml] of ServletContext
16:37:04,431 ERROR ContextLoader:106 - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'dataSource' defined in resource [/WEB-INF/applicationContext.xml] of ServletContext: Class that bean class [org.apache.commons.dbcp.BasicDataSource] depends on not found; nested exception is java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool
java.lang.NoClassDefFoundError: org/apache/commons/pool/impl/GenericObjectPool
en3rgizer wrote: Source can be downloaded from here:
http://res.sys-con.com/story/46977/mypetstore.zip
I have faced the same problem about Tom Authera wrote on 1 Mar 2005 ( All works well until I press the Check-Out link. MySql throws a foreign-key constraint error. Here is the trace:
10:57:34,055 INFO HibernateTransactionManager:315 - Initiating transaction commit
10:57:34,086 WARN JDBCExceptionReporter:38 - SQL Error: 1216, SQLState: 23000
10:57:34,086 ERROR JDBCExceptionReporter:46 - null, message from server: "Cannot add or update a child row: a foreign key constraint fails"......)
After doing some reverse engineering on database 'mypetstore' with JBoss Tools I've found that generated mapping for Order.hbm.xml differents from original mapping from example. So I've changed few strings hibernate mapping Order.hbm.xml:
Before: set name="lineItems" cascade="all"
After:
set name="lineIt...
en3rgizer wrote: Source can be downloaded from here:
http://res.sys-con.com/story/46977/mypetstore.zip
I have faced the same problem about Tom Authera wrote on 1 Mar 2005 ( All works well until I press the Check-Out link. MySql throws a foreign-key constraint error. Here is the trace:
10:57:34,055 INFO HibernateTransactionManager:315 - Initiating transaction commit
10:57:34,086 WARN JDBCExceptionReporter:38 - SQL Error: 1216, SQLState: 23000
10:57:34,086 ERROR JDBCExceptionReporter:46 - null, message from server: "Cannot add or update a child row: a foreign key constraint fails"......)
After doing some reverse engineering on database 'mypetstore' with JBoss Tools I've found that generated mapping for Order.hbm.xml differents from original mapping from example. So I've changed few strings hibernate mapping Order.hbm.xml:
Before:
<one-to-many class="LineItem"/>...
Niko wrote: If you try to run the sources shipped with the article be sure that your database tables and columns are named in proper case (at least under MySQL 4.1/Linux the case does matter).
Regardings libs: add commons-pool.jar from jakarta, and exlcude servlet.jar for building the war file.
... then it runs like a charme.
Very nice article, Thanks!
-- Niko
Paul Byford wrote: Derek,
Again first class article! In my view the integration of open source frameworks is a key concern going forward. You have succeeded in your aim to encourage investigation of these topic.
Paul
Vladimir Cholak wrote: What does the author teach regarding decoupling presentation tier from business tier?
Just look at Listing 1.
At one line the author demonstrate how to call business method indirectly via ServiceLocator. It's OK.
But at the next line he breaks that principle and call business method directly. Why don't he use the same principle? It should be done like this:
this.getServiceLocator().getCartService().addItem(item);
And of course, the reference to Cart business object should be removed from CartBean.
Tom Autera wrote: Tutorial is great. I'm having 1 issue though. All works well until I press the Check-Out link. MySql throws a foreign-key constraint error. Here is the trace:
10:57:34,055 INFO HibernateTransactionManager:315 - Initiating transaction commit
10:57:34,086 WARN JDBCExceptionReporter:38 - SQL Error: 1216, SQLState: 23000
10:57:34,086 ERROR JDBCExceptionReporter:46 - null, message from server: "Cannot add or update a child row: a foreign key constraint fails"
10:57:34,086 WARN JDBCExceptionReporter:38 - SQL Error: 1216, SQLState: 23000
10:57:34,086 ERROR JDBCExceptionReporter:46 - null, message from server: "Cannot add or update a child row: a foreign key constraint fails"
10:57:34,102 ERROR JDBCExceptionReporter:38 - Could not execute JDBC batch update
java.sql.BatchUpdateException: null, message from server: "Cannot add or update a child row: a foreign key constraint fails"...
Shankar Kolinjavadi wrote: I had the same issue with the jsp compilation. It happens to be a problem with tomcat losing the class path to java libraries. There is a open bug on some versions of 5.x Tomcat installations. removing and reinstall of Tomcat fixed this issue, after a day of frustrating trials and errors.
Cheers
Jason Grundy wrote: Great article. I deployed to JBoss4.0.1 but I receive an error when trying to access the URL. Any ideas?
2005-02-02 12:25:57,784 ERROR [org.apache.jasper.compiler.Compiler] Error compiling file: /C:/jboss-4.0.1/server/default/work/jboss.web/localhost/mypetstore//org/apache/jsp\main_jsp.java [javac] Compiling 1 source file
C:\jboss-4.0.1\server\default\work\jboss.web\localhost\mypetstore\org\apache\jsp\main_jsp.java:88: _jspx_meth_tiles_put_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.main_jsp cannot be applied to (org.apache.struts.taglib.tiles.InsertTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_tiles_put_0(_jspx_th_tiles_insert_0, _jspx_page_context))
^
C:\jboss-4.0.1\server\default\work\jboss.web\localhost\mypetstore\org\apache\jsp\main_jsp.java:93: _jspx_meth_tiles_put_1(javax.servlet.jsp.tagext.JspTag,javax.se...
mike wrote: It is a really great artical and if you are a Java programer (developer/architect) you can learn a lot.
At the same time it shows why J2EE application development sucks (big time). One has to download Spring (13M), Hibernate(15M) and spend a couple of hours just to make this application working. I guess it is not worth mentioning how much time it takes to learn both of those frameworks. Or that the author himself concedes "JSF technology is not mature at this stage". So just go ahead learn this new exciting technology though you probably will not be able to use it soon for real applications. I live off Java but it is getting more (unnecessary) complicated with each new day (each new second). Like JSP 2.0 EL (expression language), for example. Could anybody explain me why is '${1 + 2}' better than '<%=(1+2)%>'? I do have opportunity to see various experts, senior developers, architects...
dami wrote: I like JSF:
1) with SUN Java Creator I can drag and drop my web tier in 10 minutes. Creator supports to connect JSF with RowSet, EJBs or web services. I have to sorted out, how to connect the JSF with my business delegate ..
2) I think that the biggest advantage is that we have now 4 JSF implementations: SUN, Oracle, IBM and some open source one
Looksky wrote: From a documentation point of view, Hibernate is one of the most notable exception in the world of LGPL'ed projects. Check out its website.
Genuitec announced the availability of MyEclipse Enterprise Workbench 7.0 milestone 1. This milestone release delivers advanced AJAX tooling for Java EE and full Application Lifecycle Management (ALM) capabilities for Eclipse 3.4 Ganymede, among other enhancements.
Genuitec announced the availability of the first milestone release of MyEclipse 7.0 Blue Edition. This release provides WebSphere developers with advanced AJAX tooling, enhanced reporting technologies and Eclipse 3.4 support, among other enhancements.
Red Hat CTO Brian Stevens, Citrix CTO Simon Crosby, Egenera CTO Pete Manca, Allen Stewart, Group Manager, Windows Virtualization at Microsoft, and Brian Duckering, Sr. Director of Products and Alliances at Symantec were the top industry executives who joined Jeremy Geelan in the ...
Clear Toolkit 3.0 is a set of components, code generators, and plugins created by software engineers of Farata Systems that they were using internally in multiple Flex enterprise projects. This toolkit will be available free of charge.
Mike Neil is general manager for virtualization strategy in the Windows Server Division at Microsoft. Mike is focused on the delivery of the Windows virtualization technology, including Windows Server 2008 Hyper-V, Microsoft Hyper-V Server and Virtual PC 2007. Mike also directs t...
The pressure is on to keep pace with Web 2.0 entrants into the marketplace. Rewriting is expensive; adding AJAX widgets results in a complex, unmaintainable application. Both require you to hire scarce JavaScript developers. Google Web Toolkit -- the SDK that allows you to write ...
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice: