layout="pageDirection | lineDirection"
pageDirection=display radio buttons vertically on the page
lineDirection=display inline

Articles, notes and random thoughts on Software Development and Technology
layout="pageDirection | lineDirection"
pageDirection=display radio buttons vertically on the page
lineDirection=display inline
It seems that @Schedule methods won’t execute on JBoss AS7.1 unless you specify at least both the hours and minutes values on the scheduled method.
For example, to execute a method every 30 seconds:
@Schedule(seconds="*/30")
public void doSomething() { ...}
Doesn’t execute, but if you include hours and minutes wildcards too then it does:
@Schedule(hour="*", minute-="*", second="*/30")
public void doSomething() { ...}
SQLite docs: http://www.sqlite.org/docs.html
Date Types: http://www.sqlite.org/datatype3.html
SQLite does not have a date/time time – dates stored in either text, real or integer columns are converted appropriately to that type.
Table relationships
create table person (id integer primary key asc, name text); create table address( id integer primary key asc, person_id references person( id ), add_line1 text );
Spring Expression Language (SpEL) introduced in Spring 3.0 introduces EL style language for referencing beans and properties, and gives a standard syntax for doing property replacement into beans.
Enabled with context:component-scan in xml file:
<context:component-scan base-package="your.package"/>
‘The spirit of autowiring is by type’ – use of the @Qualifier should be only if necessary, since it restricts the flexibility and power of the Autowiring.
Use of @Autowired implies @Required (don’t need to explicitly defined @Required if @Autowired)
Also enabled via context:component-scan
Following stereotypes do add extra behavior:
Other Spring projects use similar annotation approach for adding additional stereotype based functionality.
Spring JUnit Support
Integration testing support allows testing with Spring Bean dependencies
@ContextConfuguration("example-context.xml")
@RunWith(SpringJUnit4ClassRunner.class)
public class ExampleTest
{
@Autowired
private ExampleService exampleService;
@Test
public void eampleTest() { ... }
}