Figured it out on my own.
For those who might want the answer:
You need to define an <ejb-local-ref> tag set within your ejb-jar.xml
Say you have an entity bean named User and you want to be able to get to it locally. In the tags for the User bean you need to have the following:
<!-- this is what to use in the lookup -->
<!-- this is the entity bean -->
Please note that com.blah.entity.UserHome and com.blah.entity.User implement the Local interfaces. Most people would have them named UserLocalHome and UserLocal, but I used JBuilder to make the beans (took too long in JEdit) and JBuilder names them differently.
Anyway, in your code, to reference the local interfaces you would do the following:
// Get the reference to the LOCAL Home
UserHome home = (UserHome)ctx.lookup("local/User");
// Get the reference to the LOCAL User object
User user = (User)home.findByEmailAddress("email@example.com");
// Print some stuff
// This actually returns another LOCAL object
// that is created by an ejb-relationship.
And that is really all that there is to it.
Remember that when dealing with ejb-relationships, they only work locally. So the code above would have to be in a bean within the same JVM as the User objects.