Win a copy of Terraform in Action this week in the Cloud forum!

Leonardo Celati

+ Follow
since Oct 10, 2008
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Leonardo Celati

Raghavendra Desoju wrote:Hi Ranchers,

Could you please share your thoughts on selecting appropriate tool/framework for a given scenario? I feel this is really confusing....

1)JSF & Servlet
2)JSP & Servlet
3)Java FX


As other have said, the requirements will drive the right choice. However, these are my opinions:

JSF (without servlet) = use 2.x version (no ver. 1.x), when you expect low number of users and you are dealing with management interface. Oracle guarantee backward compatibility, and many vendors offers their "Faces" on top of JSF, which bring you lot of nice things, including AJAX and Responsiveness. You are also kept safe from cross site scripting and all such kind of attacks.
JSP & Servlet = only for simple interface or specific pages with graphs, data, etc... lot of extra coding is expecting you, to cover all the aspects that other framework are offering out of the box. All the AJAX things for example.
JavaFX = It is now part of JDK, but the whole project seems a bit stale. Use it for fat client or rich interfaces.
Swing, AWT, SWT = When you need a Fat client or a standalone program these are the alternatives. SWT however is not a standard by Oracle.

Then as other have mentioned:
JS + Rest API = there's a lot of framework offering this. This approach although good, requires good architects, and good developer. In these months I am seeing many projects failing on lot of aspects: security, vulnerability, and mostly scalability and performance degradation.

caio bessa wrote:The problem is in the pearson vue. But they could not solve my problem.

I solve my problem when I sent an email to (in my case, because I live in brazil)
with the following prints

1 - I trying shedule the 1z0-866 exam ( erro message)
2- Open the 1z0-865 test and took the print of the success message to upload assigment
3 - the 1z0-865 test status in progress. (The correct and pending)

If not solve your problem. Post again here. I will help you.

Thanks Caio for detailed information, especially the private message. I have already sent an email and a call to my country support team. Sadly they told me they cannot do anything about it, and have redirected me to a form on Oracle web site which I have immediately filled :-)
Following your advice I have resent an email to support team with screenshot attached proving I have sent my assignment.
I will keep everybody informed, as this is something that I would put in the OCMJEA FAQ.

K. Tsang wrote:You should able to schedule part 3 essay right away.

A similar situation occurred in this thread.

When in doubt contact VUE and Oracle.

Thanks for the answer, yes it is the exactly same problem. It is not clear to me who solved the problem, if by itself or by a technician from Oracle or Pearsonvue.
Still waiting for an answer from Oracle, while pearsonvue says to contact helpdesk.

(don't know if moderator want to join the two threads)

caio bessa wrote:

Today, I could schedule my essay exam o///

The reason was an error of pearson vue. My test (1z0-865) was status "in progress" today person vue change status to "pending".

Now I scheduled my essay exam. I can try to take my OCMEJA )

How did you solve the problem ? I spent an hour twice on a chat with pearsonvue guys, but they haven't been able to solve the problem. Inviting me to contact the phone help desk.
In the meantime I already send a communication to Oracle also.
As in the subject, I have successfully submitted my assignment, but the home page on pearsonvue still saying that my exam is in progress.
Therefore I cannot proceed for scheduling 1Z0-866, as I am having the blocking message for completing 1Z0-865 first...

The strange things is that if I click on "Resume Exam" I got redirected to a page saying that "your upload was successful" inviting me to schedule the essay "right away".

The main question, are you aware or have encountered any delays between the submission and the exam status on pearsonvue ?

Apart for that, yesterday, the pearsonvue website was totally unstable, with suddenly interrupted session, and an unacceptable response time for the simplest things.

My concern is that the exam is next to expire on 1st of May, I have not been able to schedule for today 29 even if there was booking available.
Ok, got it. But then another question specific for the ones that has faced my same assignment.

When it says that:

"The user select a component category"
and then as a final step, if the components is eligible (applicable) for being added:
"Add the component to the current house design"

I am starting to be quite confused about this, mostly because I am thinking in terms of a real case. In the beginning my understanding was that the system proposes a house design with the components already in place.
Then with "select a component category" t's just the user clicking on an existing wall, or door, or roof...etc, of the house design and replace with one allowed from the list.
So, "add" pratically means "replace" in my case. And this is just the meaning of the company planning to propose a limit set to test the market.

Otherwise, how can the system check for "applicability" without knowing where the component will go ?
Ok for a roof, a foundation, which are 1:1, but a wall ? Supposing the house is rectangular, the wall component cannot always fit.
Or a window, there must be a limit about the number of windows one can add, and this is known after clicking on existing component, rather than a category.

Or probably I am overthinking it, and I should just sign class methods for doing what it is just being asked, something like add(component, houseDesign) :-)

What do you think ?
From the assignment, a user is supposed to do this steps:
- click on a component category, the system will respond with a list of components
- click on a component in the list, the system will respond with avaiability/applicability

I was wondering if this use case can be shorten like this:

- click on a component category, the system will respond with a list of components that are available/applicable

To be honest, I would do like this in a real scenario, at least giving evidence in the list about the reason of not applicability.
It could be quite frustrating for a user to click the whole list to find out which component is suitable to be added.

Of course, whenever I add a component, I am always doing a validation on the business side.

Wel..I hope I understood the use cases correctly :-)
Sadly, I discovered too late that the tool I am using is not allowing me to specify custom stereotype.
Therefore I am using this notation, which I discovered is given in the example assignment in the Oracle Book.
Ready to switch to a new tool :-)

Also, did I really need to put xhtml and FacesServlet ? Faces servlet is supposed to be given by the "technology" (jsf) where's the point in specifying it in the class diagram. Please consider these last two questons as a lack of uml knowledge on my side.
Could someone confirm, by looking the attachment, if this is an acceptable layout for representing a session bean and a jsf in a class diagram.
I mean "acceptable" for the OCMJEA examinator.
Otherwise could you post some "graphic" example.


Chris Bicnal wrote:Hi all,

Question - what tool(s) have folks for their class, sequence and component diagrams?

Also, has anyone attempted this on a Mac?



I am happy with JDeveloper by Oracle, I am running on a MacBook Pro (late 2011). You can also convert from class diagram to code, from code to class diagram, from code to model etc...

Mimmo Ludovico wrote:Hi All,

I am working on Factory Homes Assignment. I am dealing with the following architectural decision:

1)Do we need to persist in the Factory Homes DB the components that the user have selected to create the house? I would want to avoid it because this will mean to replicate the same entities/tables (wall, roof, ....) aleady present in InventorySystem.

Since that the Factory Homes is owner of the InventorySystem, I think that an alternative could be store directly in InvetorySystem the components that are seleced from the user and wtht an external key we could retrive it in Factory Homes the components that compose a copleted design.

What do you think of this?

Thanks in advance,

I am working on it too. Well in my understanding Inventory System is to be considered "immutable". A black box used only for what it is described in the spec.
However, due to my past works and experience, I was thinking to get rid of a DB by using a CMIS enabled ECM, such as Alfresco, Share Point etc. This way I could store and retrieve the XML, and all rendered stuff (video, jpg, etc..).
Hi all,

when compiling/building a dynamic project in eclipse, I often got strange compile errors (Syntax Errors) in 'Problems' tab. Such errors are obviously non existent. Infact the application runs fine including all the sintattically wrong jsps.

The application I am compiling is an old struts 1.1 app, compiled with jdk 1.4 jdk (but Eclipse run on jdk 1.6).

Does someone know how to solve this problem ? Or at least ignore jsp compiling error ?

[ October 13, 2008: Message edited by: Leonardo Celati ]
Thanks for your reply...find the answer below

What do you mean by "unpacked"? How did you do that?

-opened with any archive see the content

Also the C.ear in your two examples, was that the exact same C.ear?

-One built and deployed by eclipse after pressing "play" or "run on server", the other one built by me with file-->export ear then deployed manually to jboss...

I can see how the second C.ear worked - the JARs in the lib directory are automatically included in the classpath. In the first C.ear, the A.jar would have to be included in the META-INF/application.xml file (you do have one of these, don't you?)

- That's the whole point...eclipse don't build the right structure when deploying on jboss...just put everything at root folder...

Also, which version of JBossAS?

- 4.2.2 GA
Hi all,

I have been used this forum a lot, thanks for the ones who previously posted useful information and shared knowledge.

This is my first post. And this is the scenario. Eclipse Ganymede, jboss 4.2.
In Eclipse I have this:
i) project A.jar with a set of useful class.
ii) ejb project B.jar which include A.jar.
iii) ear project C.ear which include A and B.

Whenever I deploy C.ear from eclipse (run on server) to jboss B it's telling me ClassNotFound exception relative to A.jar.

I unpacked the C.ear file in jboss deploy directory and found this structure:


All at root level, and the manifest doesn't mention anything about A.jar
But...if right click 'C' and export ear file the structure is:


And that ear deployed manually "drag and drop" on jboss run fine with no error.

Am I missing something ? Why this difference in behaviour ?

thanks for all responses...