Daniel Sagayaraj

Ranch Hand
+ Follow
since Mar 15, 2010
Merit badge: grant badges
For More
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 Daniel Sagayaraj

Hi Friends,
How far smooks support HL7.?
11 years ago
Hi,
Does Smooks supports HL7 ?
11 years ago

John Todd wrote:

Campbell Ritchie wrote:Maybe he lost interest after scrolling a million ↓ arrows on the website and not seeing anything to read yet


Properly
However,chapter 8 of Land of Lisp is challenging for the new comers.



Yes it is..

May be i might find easy if i read it from the first chapter.




12 years ago

John Todd wrote:Land of Lisp is insanely great.



Dear John Todd , Did you try it?? How useful was it for you??
I just read the sample chapters which they have given in their site.. I found it pretty difficult to understand.
12 years ago

Campbell Ritchie wrote:It used to be possible to download Peter Seibel’s book free of charge. Try googling.



buddy.. Is this the link you are refering to??
http://www.gigamonkeys.com/book/
12 years ago
Dear friends,

I am a java programmer with 3+ experince but I am a novice to "AI". I am just beginning. Please guild me where to start and how to get going.
I wish to buy a book to learn "LISP". It would be a great help if you could suggest me an ideal book to learn lisp.

Thank You
12 years ago
Hi Friends,

please help me to make vertical orientation for the header of a table in BIRT report .
I tried doing that but i am not enough knowledged in BIRT to do that..
I have attached sample of what i am looking for with this post.
Thanks for your help...In advance..



Hi
you can use <img src="put the url from the object here"/>

Hope this works.
12 years ago
JSP
EJB is Enterprise Java Bean.
it is a technology that helps us to manage the server-side component architecture .
It helps us to maintain a modular construction for an enterprise applications.
Before you understand the term "modular construction" you may need to understand what the enterprise application means,and why make it different from web application.


Web Application:

An application that is accessed over a network such as internet for a specific purpose .
The users are mostly many and will have similar operation to do on the application.


In short : many user for one application

Example : gmail,facebook..

Enterprise Application:

Its an application that is owned by an organization to automate their business process.

Usually the users are few but they may need to do different operation on the application

An organization has different departments like production,marketing,sales,accounts,logistics,service

Where the need of the application differs for each department but they are interlinked (output of one may be input of the other...)

Enterprise application has different layers or modules for each purpose/department.

Production department may need to maintain the stock details,done goods,returned goods,etc
sales department may need to maintain the sales details and the should be made available of the production detail.
account department may need to maintain the expense of the production department and the income in the sales department

And so on... with the other departments

In short : few user for many application

so the modules are linked to each other to carry out the business process..

And here comes "modular construction"..

Constructing an application with different modules with less dependency and sharing the precise information among them is modular construction.


Well being said that where does the EJB comes in here???


When its an web application the risk is less..
But when it comes to enterprise application risk is high since it carries out a business process of an organization.


1) It has different departments and they need to share information which is confidential..
so security is important which the information is being communicated

2) Output of the one department is the input of the other department

So when the output of one is wrong then all the other process of the other department is lost.
For which the accuracy is important

3) Since their are different modules in enterprise applicaton we may find difficult to deploy all of them in one server. To reduce the complexity we deploy in different server.
one process may need to use the process of a remote module
So the need for the web service and Remote procedure calls using RMI-IIOP comes in.

4) While the information is being transferred from one module to the other(may be server to server) if the server gets crashes then the values are lost. Since the values would be in RAM which is volatile(loses the data when the power is gone)
So need of Integration with the Persistence services offered by the Java Persistence API (JPA)

Likewise there are many other risk factors that begins to threat when we land to a enterprise application

The EJB (Enterprise JavaBean) has a complete solutions to overcome all those risk factors.


So to conclude EJB is a technology for enterprise application which helps in automating a business process of an Enterprise(Organization) with minimal threats..



Note*:I ve just shared my understanding about the topic. If i am wrong on some concepts. Please let me know so that i may correct it.
both querys returns the same result set....

all i want to know is ..... which one is effecient when there is volume of the data exceds 1 lac



select
lo.loc_name,
d.dispense_date,
p.patient_id,
p.patient_last_name,
a.prod_name,
s.lot,
s.expiry_date,
d.physician,
d.notes
from
lp_manage_patient as p,
rfx_ent_products as a,
lp_dispense as d,
lp_serial as s,
rfx_ent_locations as lo
where
d.manage_patient_id = p.manage_patient_id
and
d.product_id = a.prod_id
and
d.serial_id = s.serial_number
and
lo.location_id=p.location_id;


----------------------------------------------------------------------

select
lo.loc_name,
d.dispense_date,
p.patient_id,
p.patient_last_name,
a.prod_name,
s.lot,
s.expiry_date,
d.physician,
d.notes
from lp_manage_patient as p
inner join lp_dispense as d on d.manage_patient_id = p.manage_patient_id
inner join rfx_ent_products as a on d.product_id = a.prod_id
inner join lp_serial as s on d.serial_id = s.serial_number
inner join rfx_ent_locations as lo on lo.location_id=p.location_id;
13 years ago
Dear Friends...
I was not able to fine the cause of the error but found the alternative to the achieve the requirement..

It works when i pass org.w3c.dom.Document instead of passing a file URL ....

Yamuna Daniel wrote:Dear Friends..
I am using iTEXT to convert xhtml into pdf in a web application.i am getting the following error.I tried my level best to spot the cause of the error.But could not do it.

The Code:


String inputFile = "D://Data_Local//xml//docs//testXHTML.xml";
String url = new File(inputFile).toURI().toURL().toString();
String outputFile = "D://Data_Local//xml//docs//firstdoc.pdf";
OutputStream os = new FileOutputStream(outputFile);
ITextRenderer renderer = new ITextRenderer();
renderer.setDocument(url);
renderer.layout();
renderer.createPDF(os);
os.close();


Error:

Exception occured While Logging In : org.xhtmlrenderer.util.XRRuntimeException: Failed on configuring SAX to DOM transformer.


This same java code works fine when it is used in java application but throws this exception when used in web application....


Thank You.....




Dear Friends...

The same code works fine with both java application and web application.The problem is...
it doesn't work in one particular project...



Ulf Dittmer wrote:So you're actually using the FlyingSaucer library, not iText.

Are you certain that this: "new File(inputFile).toURI().toURL().toString()" produces something sensible?




ya checked that dear...

it returns--->file:/D:/Data_Local/xml/docs/testXHTML.xml

Dear Friends..
I am using iTEXT to convert xhtml into pdf in a web application.i am getting the following error.I tried my level best to spot the cause of the error.But could not do it.

The Code:


String inputFile = "D://Data_Local//xml//docs//testXHTML.xml";
String url = new File(inputFile).toURI().toURL().toString();
String outputFile = "D://Data_Local//xml//docs//firstdoc.pdf";
OutputStream os = new FileOutputStream(outputFile);
ITextRenderer renderer = new ITextRenderer();
renderer.setDocument(url);
renderer.layout();
renderer.createPDF(os);
os.close();


Error:

Exception occured While Logging In : org.xhtmlrenderer.util.XRRuntimeException: Failed on configuring SAX to DOM transformer.


This same java code works fine when it is used in java application but throws this exception when used in web application....


Thank You.....




==============


OutPut::

A+
A-
B+
B-
AB+
AB-
O+
O-



=========================


With this we can achieve the expected task in your project
13 years ago