|
Re: help needed....
|
Posted: Feb 11, 2005 11:37 AM
|
|
> Wt r the differences between custom JSP tags & taglib? They are the same. In the 1.4 version of J2EE you can create tablibs without any Java code, which does make a taglib slightly different than a JSP tag. But in previous versions taglibs and custom tags are both Java classes that extend one of the JSP classes.
> Wt r the drawbacks of EJB? EJB is a heavy weight architecture. You need multiple interfaces and multiple configuration files to deploy an EJB. Unless you need transactions or sessions for your services, EJB is usually too much overhead. EJB 3 is designed around lighter weight POJO development, but is not finalized yet. Even if you need transactions, you might be able to work with something like JOTA and Spring instead of EJB. The book "Bitter EJB" is an excellent resource and there are lots of articles out in the community regarding EJBs drawbacks and alternatives. A good starting point is also the Spring framework (www.springframework.org).
|
|