JBoss versus GlassFish

The glassfish project serves a couple different purposes.

It is a Java EE 5 implementation, like JBoss.

It is the reference implementation of Java EE 5.

While those two sentences look very similar, there are huge differences between them.

Building Java web application : EJB or not ??

Some people says .. building a java web application would be more powerful with EJB. But some other people says .. it will just make your application more complicated.

I am trying to build a scalable web application but I don not know whether or not using EJB.

I have build web applications using Struts but do not uses EJB. This web can work fine. So may be there is no need to go to EJB.

Posted in java, programming. Tags: , , . 1 Comment »

Struts (Java) : How to display images from a bean

Use this tag:

<nested:iterate property=”students”>
<tr class=”rowA”>
<td><nested:write property=”studentNumber”/></td>
<td><nested:write property=”studentName”/></td>
<td><img src=”<nested:write property=”studentPhoto”/>”/></td>
</tr>
</nested:iterate>

If you have any question, just let me know …

Follow

Get every new post delivered to your Inbox.