Am new to EJB, currently am creating an application using Struts and EJB.

I dont know how to connect the Struts with EJB component.
Can someone pls help me? I searched for samples online, but am not able to understand them.

Does anyone has a sample code to integrate both of them, with explanation?

Looking forward for an answer
Thanks in advance