Jeremy Hsu

Ranch Hand
+ Follow
since Mar 28, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jeremy Hsu

Originally posted by Hitry Mitry:


Hi Jeremy!

I was just checking the certManager while writing this response to your message and my results are in! And guess what! It is 91!
Apparently there IS a trend



LOL. I can not believe it. This is such an awesome trend. 89 => 91
Congrad on passing SCEA
super awesome score.

congrad on the accomplishment
OK, today, I emailed them about this, and they manually updated the status to certified, and now I am waiting for the welcome kit to arrive. Therefore, I suggest anyone here who had the same problem as me shoot them a email.

Originally posted by Ronald Heukers:
Hello all,

I have an architectural question about the choice of technology.

Many times in our projects in our company we need to check some serverside constraints from our applications. The information we need to get here is in the data base. That is in our company an obligation from the business architects and we can not change it. Still we have three options to go the a business function,

1. use a call to a webservice,
2. make a synchronous call to a stored function in the database (by JDBC or some persistency software),
3. make an asynchronous call using JMS or Inteconnect

In practice we use now number 2 but when do you use which technology? When do you ideally use webservices, when a stored function, when something like JMS.

Thanks in advance,

Regards,

Ronald



Hi, I will make recommandation from performance point of view.

1) If you want to expose this business methods to the other business partner, then web services is a great way to do it. I do not recommand using webservice just for internal communication because it is slow.

2) and 3)
I will discuss both of these method together. I will use the 3rd approach if the business method is asynchronous in nature. The 2nd approach is what I will be using the most of the time. The 3rd approach will give your client application a faster response time because once you make the asynchronous call, your client can continue executing rest of the instructions. However, if your application requires immediate result of the business method that you invoke using that asynchronous call, this approach maybe not be suitable, and the 2nd approach will be better.

hope this helps
I passed SCEA with 91%. Although I am expecting higher, I am still happy at that mark.
15 years ago
I got 89 on the Part I, and 91 on Part II and Part III
Hi, guys

I have passed the SCEA for about a week, and I still seeing enrolled status in the i-7 cert tracker database. How long does it take for you guys to receive the actual certification package from Sun?

thanks,

Jeremy

[ September 12, 2005: Message edited by: Jeremy Hsu ]
[ September 13, 2005: Message edited by: Jeremy Hsu ]
Hi,

When you are architecting in the real world, there is a set of constraints, such as amount of budget, development time, number of senior developers and their knowledge on J2EE, and also what actual J2EE servers you are using.

And yes, there are several ways to solve the problem, but there is only one way that might satisfy those constrant.

Your role as architector needs to find one solution that fits those constraint.

In my opinion, when you are facing with many solutions, pick one that is simplest to implement. Because in the real world, shorter development time means more time for testing and QA, and therefore, you can pinpoint the problem of your system earlier and can focus on performance tuning that part of the system.

Also, you should study more on different approaches of software development lifecycle because that might affect your architecture decision.
YES.

if you can get 80% on whizlabs, you should have no problem with the real exam.
1) Nested Transaction has 3 properties
i. One root transaction and several branched transactions.
ii. One branched transaction rolled back does not cause the entire transaction to roll back.
iii.The root transaction is rolled back, and this will roll back all the branched transactions.

Now, look at the RequireNew
i. One root transaction and several branched transactions.
Well, RequireNew forces the current transaction to pause, and starts another transaction. This is really two transaction.
ii. One branched transaction rolled back does not cause the entire transaction to roll back.
Well, yes, because it is two transactions, you roll back one transaction, of course it does not affect the other transaction.
iii.The root transaction is rolled back, and this will roll back all the branched transactions.
Well, suppose you use required new, and the first transaction is paused, and starts the second transaction. Second transaction completes, and the first transaction resume, and you decide to roll back the first transaction. This will not roll back the second transaction because it already commits.

As a result, RequireNew is not nested transaction because only 1 property SEEMS to fit. You need all 3.

2) When you use RequireNew, the first transaction is paused, and the lock is not released.

[ September 09, 2005: Message edited by: Jeremy Hsu ]
[ September 09, 2005: Message edited by: Jeremy Hsu ]
Hi,

I think it is easier to use a Factory pattern instead of a builder for those case.
[ September 09, 2005: Message edited by: Jeremy Hsu ]
yeah, as long as you are the one who did the project, you should have no problem with part 3.
congradulation. by the way, when did you take the 3rd test by the way? I noticed Sun seem to back on track starting August. I only waited for 3 weeks to get my result.
congradulation

SCEA sure sounds nice