Home > Uncategorized > A completely biased comparison of JBoss and Django

A completely biased comparison of JBoss and Django

The JBoss/Seam way:

import org.jboss.seam.annotations.Name;

@Name("person") public class Person { private String name;

public Person(String name)
    {
    this.name = name;
    }

public Person()
    {
    }

public String getName()
    {
    return this.name;
    }

public void setName(String name)
    {
    this.name = name;
    }
}

vs the Django way

from django.db import models

class Person(models.Model): name = models.CharField(maxlength=40)

Categories: Uncategorized Tags:
  1. August 2nd, 2007 at 03:49 | #1

    Haha, that’s rad. It illustrates everything that each language stands for.

  2. August 4th, 2007 at 01:40 | #2

    Nice :)

  1. August 1st, 2007 at 16:24 | #1
  2. August 8th, 2007 at 19:16 | #2