// Make a new auction item persistent
Calendar startDate = GregorianCalendar.getInstance();
Calendar endDate = GregorianCalendar.getInstance();
endDate.add(Calendar.DAY_OF_YEAR, 3);
MonetaryAmount initialPrice =
new MonetaryAmount(new BigDecimal(123), Currency.getInstance("USD"));
MonetaryAmount reservePrice =
new MonetaryAmount(new BigDecimal(333), Currency.getInstance("USD"));
Item newItem =
new Item( "Testitem", "Test Description", user,
initialPrice, reservePrice,
startDate.getTime(), endDate.getTime() );