i want to configure my finder method though CMP EJB
findByPrimaryKey(String pk)
when i call my finder method in the client side then it will create this error:-

 Error(279,23): non-static method findByPrimaryKey(java.lang.String) cannot be referenced from a static context
i didnt use any static key word but bcz of cmp my bean is abstract type
so can any one tel me how to solve it
thanks in advance