开发者

what does # character means in JNDI lookup?

开发者 https://www.devze.com 2022-12-29 06:15 出处:网络
does any one know that \"what does \'#\' character means in 开发者_JS百科JNDI look up?\" like: helloUser = (HelloUser) ctx.lookup(\"HelloUser#ejb3inaction.example.HelloUser\");

does any one know that "what does '#' character means in 开发者_JS百科JNDI look up?" like:

helloUser = (HelloUser) ctx.lookup("HelloUser#ejb3inaction.example.HelloUser");

thanks a lot


It doesn't mean anything special. It's just a convenient delimiter that doesn't require escaping. Other characters could have been used. For example, "!" was chosen by the EJB 3.1 specification.

0

精彩评论

暂无评论...
验证码 换一张
取 消