First pass at java filter and group