-
1. Re: To application developers: Are you studying source code of JBoss AS 7?
jbertram Aug 20, 2012 11:05 PM (in response to ybxiang.china)It's worth noting that these projects are no longer active (and haven't been for awhile):
- Microcontainer (use JBoss MSC)
- JBoss Profiler
- JBoss AOP
- JBoss Cache (use Infinispan)
- JBoss JMX
- JBoss Messaging (use HornetQ)
To my knowledge, Javassist was never a JBoss project.
-
2. Re: To application developers: Are you studying source code of JBoss AS 7?
nickarls Aug 21, 2012 2:03 AM (in response to ybxiang.china)You just have to face the fact that you can't know everything, even the guys working on the AS don't know every detail of every subsystem. You can of course skim the source code to get a general feeling of the architechture and when you find a bug or something you fire up the debugger and dig into the relevant code. If you have a special area of interest, feel free to focus and contribute. From a developer/architect standpoint, I try to keep a higher level view of what is happening in the Java scene in general (trends, JSR:s, emerging technologies). No stress, technology takes some time to mature, you have plenty of time to see when something gathers momentum in the community...
-
3. Re: To application developers: Are you studying source code of JBoss AS 7?
ybxiang.china Aug 22, 2012 1:12 AM (in response to jbertram)Hi Justin,
You are right except one point:
From this link http://www.jboss.org/projects, you can find javaassist.
Javassist Downloads User forum | Dev. forum Issue tracking LGPL If our client app does NOT include javaassist jar file and tries to fetch some entity beans from server, the client app will throw exception.
JBoss Messaging is replaced with HornetQ since JBoss 6. I studied it many years ago. About JBoss Messaging, I have a sad expierence:
My colleague upgraded jboss messaging in jboss 5.1.0 to jbossmessaging2.0-beta because an propertiy file in it is confilict with the one in Qurtz.
(I told him it's a wrong decision, but he ignored my words because I was a new member.)
But jbossmessaging2.0-GA is never released.
So, we replaced the beta version with HornetQ GA version, but HornetQ does NOT work well in cluster environment.
At last, we erased all JMS related configurations and returned back to jboss default configuration.
We wasted many days on this issue. It was a disaster!
Then I left this company, I thought they are wasting my life.
-
4. Re: To application developers: Are you studying source code of JBoss AS 7?
nickarls Aug 22, 2012 1:29 AM (in response to ybxiang.china)We wasted many days on this issue. It was a disaster!
Then I left this company, I thought they are wasting my life.
You are in for some surprises in your career if you call that a disaster and a waste of life.
-
5. Re: To application developers: Are you studying source code of JBoss AS 7?
ybxiang.china Aug 22, 2012 1:46 AM (in response to nickarls)You just have to face the fact that you can't know everything, even the guys working on the AS don't know every detail of every subsystem.
My Boss told me the same words about our Network Management System(NMS).
You can of course skim the source code to get a general feeling of the architechture and when you find a bug or something you fire up the debugger and dig into the relevant code.
Yes!
Two weeks ago, I tuned the XNIO connection timeout by debugging XNIO sourcecode, at last I fixed the strange WAITING exception.
If you have a special area of interest, feel free to focus and contribute.
If we want to use those components better, We had better to know more details.
Three years ago I debugged into jboss AS 4.x and studied its jar/sar/war/rar/ear loading and deployment (I benifit from this experience for many years.).
From then on, I always try to understand more details, and this makes me tired and headached sometimes.
From a developer/architect standpoint, I try to keep a higher level view of what is happening in the Java scene in general (trends, JSR:s, emerging technologies). No stress, technology takes some time to mature, you have plenty of time to see when something gathers momentum in the community...
Then, We must keep studying every day.
HIBERNATE, JPA, EJB, EJB3.X, WELD, JSP, STRUTS, JSF1.X, JSF2, SEAM, OSGi......
More and more things are occuring faster and faster.
To be honest, do you feel exhausted(tired) sometimes?
-
6. Re: To application developers: Are you studying source code of JBoss AS 7?
nickarls Aug 22, 2012 1:57 AM (in response to ybxiang.china)To be honest, do you feel exhausted(tired) sometimes?
Not really, I feel much better after I gave up trying. Take AS7, if you expand the whole dependency tree down to the JRE you are talking about hundreds of mega-LOC(?). If I have a problem with an EJB, I'm happy to know that
a) The AS thas a EJB subsystem
b) I know where the source can be found
c) I know where I can find people who can help me with starting points in finding the problem
-
7. Re: To application developers: Are you studying source code of JBoss AS 7?
ybxiang.china Aug 22, 2012 2:23 AM (in response to nickarls)Not really, I feel much better after I gave up trying.
I can NOT sleep well if there is a critical issue NOT fixed.
Take AS7, if you expand the whole dependency tree down to the JRE you are talking about hundreds of mega-LOC(?).
Yes.
If I have a problem with an EJB, I'm happy to know that
a) The AS thas a EJB subsystem
b) I know where the source can be found
c) I know where I can find people who can help me with starting points in finding the problem
(b) Once I download the source code, I can NOT help diving into all related components. Maybe, I am wrong.
(c) It is NOT easy to find a gentleman to answer my questions. It seems that everyone is so busy.
Thank you very much.
I will try to follow your a) b) and c) to make my life easier.
-
8. Re: To application developers: Are you studying source code of JBoss AS 7?
nickarls Aug 22, 2012 2:29 AM (in response to ybxiang.china)I can NOT sleep well if there is a critical issue NOT fixed.
Of course you can. There is always a critical issues that is not fixed. When did you last sleep? Ease up on the coffee, take up a relaxing hobby, find some good pills, whatever works.
(b) Once I download the source code, I can NOT help diving into all related components.
(c) It is NOT easy to find a gentleman to answer my questions. It seems that everyone is so busy.
b) Learn to prioritize
c) Ask exact questions with reproducible examples.
-
9. Re: To application developers: Are you studying source code of JBoss AS 7?
wdfink Aug 22, 2012 3:57 AM (in response to ybxiang.china)I can NOT sleep well if there is a critical issue NOT fixed.
Than you have to learn it because from my experience you will find the next critical problem after you finish one or it finds you. For me hobby works, (see avatar)
b Once I download the source code, I can NOT help diving into all related components.
I think this is always if you join a huge project, there are different programming styles, old-style and corroded code (hopfully not in AS7 but it will be come over the time) and you have to understand the big-view of it.
So no worries it will take its time and for sure nobody can have a deep knowledge in every detail (or you get nuts)
c It is NOT easy to find a gentleman to answer my questions. It seems that everyone is so busy.
You will find one in many cases and you can be the one for others with your experience if you are willing to contribute