Sure. An
EJB is just a place to put your business logic whether it is Session, Enity, or Message Driven. All of them can access multiple tables in a database or even multiple databases. I am not sure why you are asking for an example though. It is the same as accessing one table only you either do a join in your SQL or run multiple statements.