Do you think it is a bad design to call an EJB from within a Taglib-extension class for JSPs?

I wrote a tag that calls an EJB for looking up some user information from our LDAP-Server.