You can now request for a topic @ javajee.com. Just post your request here as a new comment. You can also speed up the process by using the contact form after posting your request here.
Hi,
I know what is inheritance in java but i am not clear about why multiple inheritance is not allowed in java, So, can you provide me notes for this understanding. Also, please provide the notes on exception handling.
Thanks in advance.
In multiple inheritance a class can have more than one parent. So if there is a method with the same name in both the parents, then there is a confusion on which method to inherit. To avoid this confusion Java has avoided multiple inheritance for classes. However a form of multiple inheritance might be introduced in Java 8 through the use of default methods. But don't worry about it now. Let me know if you are clear with multiple inheritance and why it is not there in java; else I will explain with an example to make it more clear.
We haven't written any note on EJB yet, but if it is really required we can try on that too. Before that could you please help me with few details:
1. Which year are you in now? Have you started working on the project?
2. How did you finalize on EJB? Many people these days would prefer a light weight framework like Spring over EJB as you can do almost everything you do with EJBs with less complexity. You can also deploy a Spring based application on even a web container like Apache tomcat, but EJBs would require application servers like JBoss or Websphere Application Server.
3. Could you also tell me about the project and what you are doing briefly. There are basically three types of EJBs ( session beans, entity beans and mesage driven beans). Telling us more about your project helps us to know the one required for you.
Please provide these details at the earliest. You can also ping us in facebook with the details.
Hi again,
Am in my final year at university of Mauritius, and according to my title I have to develop the system using a component based approach. After my research I have found out that there are three main component based model, COM, EJB and CORBA. According to my supervisor I have to implement it using EJB.
My project is about developing a blood bank database system. Blood bank would be the server and the hospitals and blood collector agents would be the client.
For the blood collector agents I will be using message driven bean and the hospitals I would adopt session beans
THANKK YOU very much
I am not sure can provide much notes on EJB in short span of time, however I will try to guide you to some good materials or ebooks available. Our approach is more oriented towards web services and lightweight frameworks like Spring and Hibernate.
I have been working in the Software Industry for few years now and I could see that web services have become more popular over COM and CORBA for distributed computing. You can have your server and client even in different programming languages. EJBs also simply makes things more complex and we can use Spring and/or hibernate to get the same functionality.
If I were implementing the blood bank database system, I would use Spring for configuration and dependency injection, hibernate (instead of entity beans) for saving data and client would communicate to server using web services. Initially in our production application we were using websphere MQ with message driven beans at client side to connect to server, but later it was migrated to web services.
Did you not consider web services (SOAP and/or REST) in your research?
Hi,
In need of notes related to Thread and file handling. if you can provide some hands on for this part, then it will be much helpful for me.
thanks
You can find multithreading notes at javajee.com/java-multithreading-book. Please go through and let us know if you have any doubts.
File handling notes will be added soon, most probably in next two weeks.
Hi,
I know what is inheritance in java but i am not clear about why multiple inheritance is not allowed in java, So, can you provide me notes for this understanding. Also, please provide the notes on exception handling.
Thanks in advance.
In multiple inheritance a class can have more than one parent. So if there is a method with the same name in both the parents, then there is a confusion on which method to inherit. To avoid this confusion Java has avoided multiple inheritance for classes. However a form of multiple inheritance might be introduced in Java 8 through the use of default methods. But don't worry about it now. Let me know if you are clear with multiple inheritance and why it is not there in java; else I will explain with an example to make it more clear.
Also, go through below articles 7, 13, 14, 15 and 16 at:
javajee.com/beginning-java-book
Exception handling
Please find notes on exception handling at:
javajee.com/tags/exceptions
Hi can you please provide a tutorial on EJB, GUI design liked with database (mysql).Thank you very much I need them for my final year project.
We haven't written any note on EJB yet, but if it is really required we can try on that too. Before that could you please help me with few details:
1. Which year are you in now? Have you started working on the project?
2. How did you finalize on EJB? Many people these days would prefer a light weight framework like Spring over EJB as you can do almost everything you do with EJBs with less complexity. You can also deploy a Spring based application on even a web container like Apache tomcat, but EJBs would require application servers like JBoss or Websphere Application Server.
3. Could you also tell me about the project and what you are doing briefly. There are basically three types of EJBs ( session beans, entity beans and mesage driven beans). Telling us more about your project helps us to know the one required for you.
Please provide these details at the earliest. You can also ping us in facebook with the details.
Hi again,
Am in my final year at university of Mauritius, and according to my title I have to develop the system using a component based approach. After my research I have found out that there are three main component based model, COM, EJB and CORBA. According to my supervisor I have to implement it using EJB.
My project is about developing a blood bank database system. Blood bank would be the server and the hospitals and blood collector agents would be the client.
For the blood collector agents I will be using message driven bean and the hospitals I would adopt session beans
THANKK YOU very much
I am not sure can provide much notes on EJB in short span of time, however I will try to guide you to some good materials or ebooks available. Our approach is more oriented towards web services and lightweight frameworks like Spring and Hibernate.
I have been working in the Software Industry for few years now and I could see that web services have become more popular over COM and CORBA for distributed computing. You can have your server and client even in different programming languages. EJBs also simply makes things more complex and we can use Spring and/or hibernate to get the same functionality.
If I were implementing the blood bank database system, I would use Spring for configuration and dependency injection, hibernate (instead of entity beans) for saving data and client would communicate to server using web services. Initially in our production application we were using websphere MQ with message driven beans at client side to connect to server, but later it was migrated to web services.
Did you not consider web services (SOAP and/or REST) in your research?
Please provide materials for Spring SOAP based webservice.
We don't have it now, but will provide it soon.