`
文章列表
The Spring framework was a major competitor against the ejb technologies. But with EJB3.0/3.1 picked up all the good things, such as Dependecy Injection, Configuration Over Convention etc, Spring no longer has any advantages at all. Over the years, Spring has become over engineered and hard to use. ...

Simple EasyMock tutorial

    博客分类:
  • JEE
http://veerasundar.com/blog/2012/06/easymock-tutorial-getting-started/   EasyMock doc: http://www.easymock.org/EasyMock3_0_Documentation.html
Cloud computing is the use of computing resources (hardware and software) that are delivered as a service over a network (typically the Internet).   Software as a Service (SaaS) , sometimes referred to as "on-demand software" or "hosted applications" , is a software delivery ...
http://www.vogella.com/articles/REST/article.html
1. You have two ways to use Jasper reports, one is to download and installe the Jaser Server and use it. It'll install Tomcat and by default PostgreSql, and an web application for managing your reports. The other way is to include Jasper reports libs in your application and manage the report generati ...
一哥们先离职了,本人开始了擦屁股工程。可擦完了俺也要开路,到处是讨债的。   Since iReport5 does not support Oracle by default, you need to add Oracle's jdbc driver to iReport's classpath.   This can be done by several ways, easiest way is to use the GUI menu "Tools > Options > ClassPath". Then click the "Add Jar ...
Servlet 3.0 provides new annotation @WebFilter to simplify the configuration of a servlet filter. Here's a simple example and the filter will be invoked with url pattern "/student/*":   package com.jxee.action; import java.io.IOException; import javax.servlet.Filter; import java ...
javax.faces.bean.ViewScoped said as long as you stay on the same view/page, the backing bean should be the same. This is useful if you want to retain some state of the backing bean, whilst avoid caching too much stuff in the session. I think it's quite useful in the searching/pagination screens.   ...
这就是生活,呵呵。 除了接受现实外,就剩下坚持,这就是世界的真相。
If you ever came across this warning message from JBoss, you might wonder what's wrong: WARN [TxConnectionManager] Prepare called on a local tx. Use of local transactions on a jta transaction with more than one branch may result in inconsistent data in some cases of failure. It's relevant to JBoss ...
1. What is a transaction? A transaction groups units of work and save the them all at once, or at any failure, roll back all the changes. 2. What are the features of a transaction? ACID: Atomicity, Consistency, Isolation and Durability. 3. What are the major issues in app development regarding tran ...
An interesting comment about Agile / 敏捷开发: The first thing I do when screening a job description online is to do a text search for the word "agile". If that word or any related term appears anywhere in the description, I don't even bother looking at the rest of it.DaveZiffer -- from You ...
  ### command line to use Oracle DBCA (-silent) to create a new dabase, using a NoSeed template ### 1. replace "SIDofNewDb" with the "SID" for your new database ### 2. you can edit the template to meet your requirement for the new database: MobilisNewDB.dbt ### 3. when asked f ...
Using DBCA command line to delete a database is quite simple: dbca -silent -deleteDatabase -sourceDB dbSID2delete The following describes MANUALLY delete a database: Refrence: Search "Oracle DBA Justin - How to drop/delete an Oracle database" on YouTube. http://www.youtube.com/watch?v=N ...
Refrence: search "Oracle DBA Justin - How to backup an 11g Oracle database cold" on YouTube http://www.youtube.com/watch?v=iH0E-g9qj90&feature=relmfu "Cold Backup" means to shutdown the Oracle database first and then backup the database files. 1. set oracle sid export ORACL ...
Global site tag (gtag.js) - Google Analytics