Thursday, May 8, 2008

Listing of poker companies

The recent blowup of online poker has seen poker societies naming on the stock exchange. Every one is trying to get into action. This has brought about hundreds of poker sites online. You have a lot of companies to choose from. But remember one thing that every company offers the same thing. The epinephrine hurry of perspiring it out on the reverse of a card with a little chance at interest is now approachable within the comforts of your house. When you choose to play online, you have no restrictions with regard to day or night. There is no restriction of closing time also

Thursday, June 28, 2007

Groovy is Seamed

With the new Groovy 1.1 beta out and its support for Java 5 annotations, wouldn't it be great to be able to write Seam applications in Groovy? Indeed it is great and you can do that with JBoss Seam (in CVS HEAD at the time of writing).

What is supported, how does it work?

You can write any entity and any action in Groovy. By simply annotating your Groovy classes with Seam annotations, they become Seam components.

@Scope(ScopeType.SESSION)
@Name("bookingList")
class BookingListAction implements Serializable
{
@In EntityManager em
@In User user
@DataModel List bookings
@DataModelSelection Booking booking
@Logger Log log

@Factory public void getBookings()
{
bookings = em.createQuery('''
select b from Booking b
where b.user.username = :username
order by b.checkinDate''')
.setParameter("username", user.username)
.getResultList()
}

public void cancel()
{
log.info("Cancel booking: #{bookingList.booking.id} for #{user.username}")
Booking cancelled = em.find(Booking.class, booking.id)
if (cancelled != null) em.remove( cancelled )
getBookings()
FacesMessages.instance().add("Booking cancelled for confirmation number #{bookingList.booking.id}", new Object[0])
}
}

En passant, you can use Groovy to write your Entities, Hibernate support them out of the box. No constraint, no limitation, no XML ;-) More>>

Is Scala the new Groovy?

Over the past couple of years, the cringe-worthy Groovy has been making bridges between the world of Java and dynamic languages. Groovy's premise is that a program doesn't need to be compiled in order to run on a JVM, and instead provides a just-in-time interpreter that can evaluate scripts in a different dialect.

For whatever reason, the JVM's ability to run any byte-code produced content hasn't been given much attention over the years. Sure, languages like NetREXX have had translators that can spit out bytecode since the early days of Java, but they've been very much hangers-on to the existing Java infrastructure. More>>

Tuesday, June 26, 2007

Introduction to Groovy - Scripting Language

Groovy is an Object Oriented Scripting Language which provides Dynamic, Easy-to-use and Integration capabilities to the Java Virutual Machine. It absorbs most of the syntax from Java and it is much powerful in terms of funtionalities which is manifiested in the form Closures, Dynamic Typing, Builders etc. Groovy also provides simplified API for accessing Databases and XML. Groovy language is large in terms of functionalities and concepts and this article provides only the basic Introduction and Information about Groovy. The first section of the article concentrates on the very basic concepts and theories of Groovy like Declaring Variables, Flow Control and Looping Structures. Then the next section focusses on Declaring Classes, Objects, Methods and the different ways of accessing them in Groovy. Covered in depth are the most exiting Groovy Closures. Finally the article explored the Groovy Distribution along with the various available Utilities. read full article