TS1410 how to retrieve ipod information
I tried to sync my daughter's ipod on to my Mac and Itunes and it couldn't sync the itunes but she lost all her app's. How can I retreive all her app's?? Thanks!!!! A
Restore them from your backup, or use these instructions to redownload them through the iCloud.
(82791)
Similar Messages
-
How to retrieve CRL information from a client computer
Is possible to retrieve CRL information from a client computer and how?
Thanks.CRL's do not normally live on workstations... normally these are hosted on servers. If you want to see what server are in the local revocation list then look at the certificates mmc snap-in and look at the revoked certificate list. If you want to test
a CRL for a certificate then export the certificate and run "Certutil -url"
Alan Burchill (MVP)
http://www.grouppolicy.biz
@alanburchill -
How to retrieve system Information on client machine Using Applets
How to retrieve video card information on client machine using applets and JNI, please suggest me on this
Thanks
GReddy1. Research platform specific OS API to do whatever you want with video cards
2. Write C/C++ code to wrap the functionality in 1 into something looks closer to what you want to see in java
3. Write a class that models the functionality of 2 with native methods.
4. Write the native methods of 3 such that they call the methods of 2.
Note that steps 1 and 2 have NOTHING to do with jni nor java. So you start by looking somewhere else for the answers to that. -
HT4859 How to retrieve icloud information
How do I access icloud to retrieve information stored?
Welcome to the Apple Community.
Specifically what information are you trying to retrieve. -
How to retrieve error information from an exception handler?
I have an Embedded PL/SQL block in a Pro*C
application that uses something like the following to catch exceptions and fill a host variable with diagnostic information.
It then re-raises the exception so that
the global error handler specified with a
WHENEVER SQLERROR DO ... can log the error and determine the appropriate action.
EXCEPTION
WHEN OTHERS THEN
:zerrtext := 'Failure occurred at ' | | mylocator;
RAISE;
According to all the Oracle docs this should work; but it does not. Re-Raising the exception within PL/SQL appears to negate the assignment of the string data to the host variable. When the global error handler runs, the host variable is empty.
The assignment works if the 'RAISE' is commenting out; but then the detailed Oracle exception data is lost, and the global error handler never gets an opportunity to run.
Does anyone know why re-raising the exception voids the assignment within the PL/SQL exception handler; and how to prevent this from happening?Have you tried getting the value from 'sqlerrm'? In PL/SQL this is a built-in placeholder for the ORA-xxxx code and message when trapping exceptions.
Hope this helps,
- Alex
null -
My computer was shut down with live work still needing to be completed within an open tab of Firefox. The site that I was working from had not been bookmarked and a saved link back to the site had not been done yet either. After starting my laptop back up and opening Firefox, I don't have anything in the history taking me back to the site. Can I get back to that session at all and if so how? Or how do I search?
You would really have to ask the app developer if there is a way to export the data.
As for adding a printer, you would need to purchase an AirPrint compatible printer and connect it to your wireless network.
By the way, your holiday letter/rant/Idon't even know what to call it... is completely inappropriate for these forums. -
SNMPGET - how to retrieve dot1x information from cat-3560 ?
Hi all,
I have the following question:
how do I get the output of "sh dot1x all summary" cli command via SNMP?
#sh dot1x all summ
Interface PAE Client Status
Gi0/34 AUTH 0113.d313.68d6 AUTHORIZED
Gi0/48 AUTH 0124.12f9.4f55 AUTHORIZEDHi Leo,
Try the below OID , i am not sure if it is Implemented yet or not ::
Object cpaePortOperVlanType
OID 1.3.6.1.4.1.9.9.220.1.1.1.8
Values 1 : other
2 : none
3 : guest
4 : authFail
MIB CISCO-PAE-MIB ; - View Supporting Images this link will generate a new window
Description "The type of the Vlan which is assigned to this port via IEEE-802.1x and related methods of authentication supported by the system.
A value of 'other' for this object indicates type of Vlan assigned to this port; via IEEE-802.1x authentication; is other than the ones specified by listed enumerations for this object.
A value of 'none' for this object indicates that there is no Vlan assigned to this port via IEEE-802.1x authentication. For such a case, corresponding value of cpaePortOperVlan object will be zero.
A value of 'guest' for this object indicates that Vlan assigned to this port; via IEEE-802.1x authentication;
is of type Guest Vlan and specified by the object cpaeGuestVlanNumber for this entry.
A value of 'authFail' for this object indicates that Vlan assigned to this port; via IEEE-802.1x authentication; is of type Auth-Fail Vlan and specified by the object cpaePortAuthFailVlan for this entry."
few other OID's which you might be interested in :
dot1xPaeSystemAuthControl
dot1xPaePortProtocolVersion
dot1xPaePortCapabilities
dot1xPaePortInitialize
dot1xPaePortReauthenticate
dot1xAuthPaeState
dot1xAuthBackendAuthState
dot1xAuthAdminControlledDirections
dot1xAuthOperControlledDirections
dot1xAuthAuthControlledPortStatus
dot1xAuthAuthControlledPortControl
dot1xAuthQuietPeriod
dot1xAuthTxPeriod
dot1xAuthSuppTimeout
dot1xAuthServerTimeout
dot1xAuthMaxReq
dot1xAuthReAuthPeriod
dot1xAuthReAuthEnabled
dot1xAuthKeyTxEnabled
dot1xAuthEapolFramesRx
dot1xAuthEapolFramesTx
dot1xAuthEapolStartFramesRx
dot1xAuthEapolLogoffFramesRx
dot1xAuthEapolRespIdFramesRx
dot1xAuthEapolRespFramesRx
dot1xAuthEapolReqIdFramesTx
dot1xAuthEapolReqFramesTx
dot1xAuthInvalidEapolFramesRx
dot1xAuthEapLengthErrorFramesRx
dot1xAuthLastEapolFrameVersion
dot1xAuthLastEapolFrameSource
Thnaks-
Afroz -
How to retrieve email information?
Hi,
(I am not sure if this is the correct forum to post.)
This is what I want to do: whenever emails come into the account/INBOX, it trigers a process ( written in java, using javamail ) to retrive message info and save it to database.
What is the good way to do it? By confirguring Sendmail Server, or start a server to monitoring ACCOUNT/INBOX?
Thanks,
lx1. trigger the inbox of your account periodically
2. obtain the newly received mail from the folder.
3. save to db
4. expung the mail from mail server afer processed. -
How to retrieve additional information about roots?
Excuse me for my little english..
I have used the method "listRoots" of java.io.File class for get drive list on my system (Windows).
Now, I need to obtain the device type for each root (for example floppy, cd-rom , hard disk, etc.).
Can I do this, without using native interface?
thank you so much,
roybartHeres some code that I have. This might be what your looking for. getSystemDisplayName will
display what jfilechooser displays.
int idx = 0;
FileSystemView fs = FileSystemView.getFileSystemView ();
File flist[] = File.listRoots();
for (idx = 0; idx < flist.length; ++idx)
System.out.println ("file: " + flist[idx].getAbsolutePath() + " - " + fs.getSystemDisplayName(flist[idx]));
} -
How can i retrieve resource information?
Hi!
What I would like to be able to do is be able through a Java program that I will make to find out the battery consumption of my laptop or some related variable. I don't know how to retrieve this information.. I would also like other information such as what programs are currently running on the computer that my java program will be running .. What I want to do in the end is to measure the available resources ... Any idea how to do that or where to look for ways of doing all that ?
Thanks a lot ! :)
NovelonThanks a lot bschauwejava for your reply.
I have been looking into it the last few days but I'm having trouble to actually find a way to do it.
I am trying to avoid to do it through JNI, so with runtime.exec() I can't imagine a way to do it other than dos commands which there aren't any for my case.
If anyone has any ideas on how I could do it or if you could point me in any direction that might help I would greatly appreciate it.
Novelon -
How to retrieve information from XML using servlets
Hi
I have a scenario like this
File-->XI-->J2ee application(HTTP Receiver adapter)
I want to know how XI sends xml file as a query string file name?
What ever may be the case i just need to retrieve the information from Request object and display the same in browser(JSP).How to do that, I am totally confused, please anyone help me!
Code help is highly rewarded.
ThanxHi Rajesh!
I have tried your code. But some where i went wrong. Please correct me: I am using NWDS2.0.9
my web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>WEB APP</display-name>
<description>WEB APP description</description>
<servlet>
<servlet-name>DisplayRes</servlet-name>
<servlet-class>com.quinnox.DisplayRes</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>DisplayRes</servlet-name>
<url-pattern>/DisplayRes/*</url-pattern>
</servlet-mapping>
</web-app>
my application.xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN"
"http://java.sun.com/dtd/application_1_3.dtd">
<application>
<display-name>ReceiverEntpr</display-name>
<description>EAR description</description>
<module>
<web>
<web-uri>HttpReceiver.war</web-uri>
<context-root>/HttpReceiver</context-root>
</web>
</module>
</application>
and my servlet code:
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.Writer;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.xml.sax.InputSource;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.transform.Result;
import javax.xml.transform.Source;
import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import org.xml.sax.EntityResolver;
import org.xml.sax.SAXException;
import com.sun.java_cup.internal.parser;
import com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl;
public class DisplayRes extends HttpServlet {
public void doGet(HttpServletRequest requset, HttpServletResponse response) throws ServletException, IOException
doWork(requset, response);
public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
doWork(req, resp);
private void doWork(HttpServletRequest req, HttpServletResponse resp) throws IOException
String path = null;
PrintWriter out = null;
PrintWriter p2=resp.getWriter();
try
resp.setContentType("text/xml");
out = resp.getWriter();
out.println("hi");
path = req.getPathInfo();
if(req.getContentLength() != -1){
outputURI(req.getInputStream(), out);
} catch (IOException ioe) { return;
//private void outputURI(InputStream resultStream, Writer out) {
private void outputURI(InputStream resultStream, PrintWriter out) {
if (resultStream == null) {
// no default file
// logger.error("No File to return");
return;
try {
DocumentBuilder parser = DocumentBuilderFactory.newInstance().newDocumentBuilder();
// Class clazz = loader.loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");
// DocumentBuilderFactoryImpl factory = (DocumentBuilderFactoryImpl) clazz.newInstance();
// DocumentBuilder parser = factory.newDocumentBuilder();
parser.setEntityResolver(new ClassPathEntityResolver());
printXML(parser.parse(resultStream), out);
resultStream.close();
} catch (Exception e) {
// logger.error("Trying to parse the output " , e);
//private void printXML(Document document, Writer writer) throws Exception {
private void printXML(Document document, PrintWriter writer) throws Exception {
Transformer transformer = TransformerFactory.newInstance().newTransformer();
Source source = new DOMSource(document);
Result output = new StreamResult(System.out);
transformer.transform(source, output);
// Write as XML so that entity references can be resolved.
if (writer != null) {
transformer.transform(source, new StreamResult(writer));
Please tell me how to display in servlet.
If it is better to display in a browser. Please send me the code.
Thanks -
Bought a new 4s and need to transfer photos from iCloud to new device. iCloud is giving me an old @me address. I do not have the email or pw for the iCloud account. How do I retrieve this information? Thanks.
If you need to change the iCloud ID on your new phone you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone, then sign back in with the ID you wish to use. If you don't know the password for your old ID, or if it isn't accepted, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID. Click edit next to the primary email account, change it back to your old email address and save the change. Then edit the name of the account to change it back to your old email address. You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll. When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud). Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was. Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
-
My iMac (late 2010 model) desktop's hard drive is fried (was about 200GB). How much am I expecting to pay for a new one and retrieve my information?
As you can see Erin, trying to recover information from a hosed drive can be very expensive.
I would suggest first the OWC site as well. You can get a new drive of choice in size there.
I would also get the voyager http://eshop.macsales.com/item/Newer%20Technology/VOYQHDB1.0T/
and..
http://eshop.macsales.com/item/Prosoft%20Engineering/DGDR3BUN/
http://eshop.macsales.com/item/NewerTech/TOOLKIT11/
Wth your lap top and these folllowing tools your are set to change out the drive, reload OS and then with
the voyager pop in the old iMac drive and with the Prosoft software, try to mount and recover the files. Data Rescue is very good at this " if " the drive is not totally mechanically hosed. Drive Genius is very good at a number of things too. Nothing replaces the old adage of Back Up Back up Back up.
The voyage I listed can become the new backup drive for you.. your choice of tools: Time Machine or by cloning via CarbonCopyCloner or by what I use SuperDuper! IF you want to be really kewl.. both. By that I mean cloning and Time Machine.
It will take you an hour to swap out the drive and spring clean the iMac.. there is a hundred how too,s on you tube.
Hope this helps. Remember if is always when a drive will fail..they all do. I tell the people I support that Harddrives are good for 15 min.. to when they don't work. They will all fail.
Apple Geniuses are very limited to what they can and will do as far as file recovery.
Your best bet is to try to do it your self first. There is lots of help out here and you are not the first.
Don -
How to retrieve client certificate information from sender mail adapter
Hi, expert:
I have a requirement to verify the validation of coming email with digital certification. The mail is with digital certification. If the coming email is valid, I 'll get the attachemt of the mail for further processing. I have a sender mail adapter and receiver file adapter configued.
I have already my own developed adapter module, which is configued in mail adapter. My question is how to retrieve the detailed certificate information in the adapter module developed by myself. Is it feasible?
Thanks a lot.The WL-Client-Proxy cert should be the cert used on the proxy side if SSL is configured between Apache and WebLogic, so I believe that is the reason why that does not work. Basically, the problem here is that SSL is end-to-end, and the two ends of this transaction are the client and apache.
That said, when you add the +ExportCertData option, this should record the client's SSL certificate in the vairable SSL_CLIENT_CERT. So you should be able to use request.getAttribute("SSL_CLIENT_CERT").
See:
http://www.modssl.org/docs/2.8/ssl_reference.html
If this doesn't work for you (which is possible if the WL_Proxy is doing something funny to the request), it is probably best just to dump out the entire contents of the session, and see what you have:
for (Enumeration e = request.getAttributeNames() ; e.hasMoreElements() ; ) {
String attr = (String)e.nextElement();
System.out.println("ATTR = " + attr);
System.out.println("VAL = " + request.getAttribute(attr));
If you can't see any SSL certificate there, you will have to work out some way to pass this on manually.
cheers,
Trevor -
RE: Polymorphism - retrieving type information from thedatabase or how
Don,
Ok but if I was to model a real restaurant, I would then have a head chef
that can then delegate to other chefs. This head chef would have the
additional task of coordinating the completion of subservient chefs. This
does not and would not mean that the head chef is stuck (or partitioned) in
one part of the kitchen. Further a head chef would most likely also be a
chef so that he would be running around the kitchen using and interacting
with different objects to get his part of the recipe completed. Then once
all chefs have completed their part of the recipe the head chef could return
the meal.
I would also point out that it does not make sense to me to be talking about
the chef and its ability to scale. I would look that the resource limited
devices that must be used to prepare meals to see scalability. In this case
the grill, the stove and the microwave. Scalability of the restaurant is a
function of the amount of resource limited devices versus the number of
process (i.e. chefs) that need to use those devices concurrently and the
amount of time they require access to those devices. By talking about chefs
as if they are the scalability limiting factor seems to bring us back to the
notion that the chef is a manager object that is shared. And again I come
back to the question, why?
You may now think that in a real restaurant, there are only so many chefs so
why not make it a shared service? Well in a real restaurant there are only
so many of any object, but this is not a consideration in our restaurant
model. In our "virtual" restaurant hiring a chef is as easy as:
Chef = new;
And of course chefs are of zero mass so there can be a whole lot in the
kitchen. Now assuming the Grill, Stove and Microwave map to physical
objects in our computing environment, then that is the limiting factor and
are therefore partitioned. Whenever communication has to go through a
single source, then scalability breaks down. I fear that too many people
make shared objects and create communication bottlenecks where they simply
don't exist. The only place your scalability bottlenecks should exist is in
the actual resource limited objects of your computing environment. Simply
said, if something isn't a resource limited object, then why is it shared?
If anyone is not clear how to architect an application independently of the
business model, then I would suggest looking at various framework products
and reading some technical architecture white papers to get a different, and
possibly enlightening, point of view.
Mark Perreira
Sage IT Partners.
-----Original Message-----
From: Don Nelson [mailto:[email protected]]
Sent: Wednesday, June 17, 1998 9:04 AM
To: Mark Perreira
Cc: [email protected]
Subject: RE: Polymorphism - retrieving type information from the
database
Mark,
First, I completely agree about the naming. I purposely used rather
euphamistic names for these "managers", since I see many convoluted names
for common things in various applications. But that is a topic for another
thread...
Simply because there is a "manager" of some type, does not imply that it is
chained to a particular duty. However, let's look at a real life case. In
a large restaurant, you would rarely see a chef chopping carrots or serving
dishes to customers. Those are the responsibilities of the sous-chef and
the waiter. So, we see that the chef does not really follow the food
around. Why not? Because it simply doesn't scale. When scalability isn't
a problem, (the restaurant isn't that popular, for example) the chef has
some lattitude to accept more responsibility, and might even get involved
with purchasing, etc.
In the real world, the more scalable something has to be, the narrower the
responsibilities are for each of the participating members.
Don
At 12:59 AM 6/17/98 -0700, Mark Perreira wrote:
Don,
One thing that always baffles me is when should an Object get the moniker
"Manager." This practice seems to tell me a couple of things about these
objects. In general when someone makes reference to a "Manager" objectthat
it is probably a service object and probably contains no or very little
attribution. The question is why? If I am developing an object model why
am I thinking about such implementation issues.
Surely if you are trying to model cooking an egg I would not see
"SustenancePreparationManager" in your model. Using a more common term I
would still be alarmed to see "CookManager" in your model. What does the
CookManager manage? Does it manage other cooks or eggs. Maybe it shouldbe
called an EggManager, but that doesn't make sense. How about just Cook.
There that seems like the real world. And this brings me to a problem in
the analogy. Conjuring up managers in a model can sometimes make you missa
container. For example, I would say that if we wanted to model the real
world, then eggs is a specialization of ingredient that is contained by
recipe that can be given to a cook to be prepared.
I may have many cooks (objects) that can prepare recipes and my application
architecture not the object model needs to deal with how to best let those
cooks utilize the grill, stove and microwave that sits on different
partitions on my server. My cooks can move around and when they do they
take their ability to know how to cook with them. In the real world Iwould
expect a cook to use the right appliance to prepare the recipe based on its
contents. I would not chain every cook to its appliance and them make me
responsible for giving the right cook the right recipe. This is what
managers can cause. They cause the consumer of cooks to know which cookcan
prepare what recipes based on where they are chained. This then makes me
know something about cooking. And if I don't know anything about cooking I
can only image what my egg would look like if I accidentally gave therecipe
to the cook stationed at the microwave.
Ok Ok, I have seen many architectures use facades to hide the fact that I
like to chain my cooks to their appliance. But what is that. I have gone
to restaurants and I don't know what a cook facade is. If I ask themanager
to present the cook facade manager employee I would probably be met by the
bouncer employee.
So what is the answer? Well for a start keep the application architecture
out of the model. The model should stand alone in describing the
interactions required to satisfy use cases. Second find an architecture
that describes a more responsibility driven design and how that design and
can map your business object behavior to a physical implementation with
appliances and cooking rules. And lastly, don't be so quick to chain your
cooks to their appliances. Give them some control over where they cook
their recipes, after all that is what they do.
Mark Perreira
Sage IT Partners.
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of Don Nelson
Sent: Tuesday, June 16, 1998 2:07 PM
To: Nick Willson
Cc: [email protected]
Subject: Re: Polymorphism - retrieving type information from the
database
This thread is switching context a bit, but I would add one thought tothe
idea of encapsulating behavior. One of the advantages to OO is that it
helps us model real world behavior. In the real world, I would not askan
invoice to stuff itself into an envelope and mail itself to its
customer; I
would not ask my vehicle to fuel itself or change its own oil; I wouldnot
tell an egg carton to ask one of its eggs to fry itself. Even if these
things were physically feasible, I could list a number of reasons why I
still wouldn't want to do them. That is why we haveVehicleRepairManagers
and SustenancePreparationManagers (aka, "Mechanics" and "Cooks").
Don
At 11:28 PM 6/15/98 -0700, Nick Willson wrote:
Tim,
You've had lots of good suggestions so I hope you won't mind an attempt
at another one. The consensus seems to be for your option (1) for the
Vehicle table, and Steve's example of a GenericConstraint (taking the
place of your Vehicle) is probably how most people would go about
answering your question. I don't have much to add to that, just wanted
to offer something about where the persistence mechanism lives and how
things look to clients that depend on it.
Suppose for a moment you think about the Vehicle classes' persistence as
being just one aspect of their behavior. In addition to persistence,
you might have to implement security, or locking for concurrent access,
or caching of vehicle objects to improve performance, and of course you
want to calculate the vehicle tax and probably do other things with
Vehicles too.
You can put the persistence aspect of Vehicles into a
PersistenceObjectManager, but then the others need somewhere too. If
you use a bunch of Managers (one for security, one for locking...) then
each class's behavior is scattered across these various Manager classes,
each of which has to know about many classes. Or if you use one Manager
class, it's going to know still more, plus you are forced to implement
all the behavior in (or at least via) that manager's partition.
An alternative would be to keep all the Vehicle classes' behavior
encapsulated together, so a client always makes requests to a Vehicle,
and the Vehicle delegates the implementation of requests to a chain of
handler objects that hang off the vehicle object (a handler for
security, another for persistence, and so on).
One of the nice things about this is, the handlers can be responsible
for going to another partition (if necessary), e.g. to perform
persistence operations, or for more business-specific operations like
tax calculations. And because the handlers are smart, you don't have to
put a lot of code into service objects, the SOs can stay pretty simple.
This isn't an approach you'll see in Express, so I hope of it's of some
interest.
General wrote:
Part 1.1 Type: Plain Text (text/plain)
Encoding: quoted-printable--
Nick Willson
SCAFFOLDS Consultant,
Sage IT Partners, Inc.
(415) 392 7243 x 373
[email protected]
The Leaders in Internet Enabled Enterprise Computing
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>>
>>>
>>
>>
============================================
Don Nelson
Regional Consulting Manager - Rocky Mountain Region
Forte Software, Inc.
Denver, CO
Phone: 303-265-7709
Corporate voice mail: 510-986-3810
aka: [email protected]
============================================
"When you deal with higher numbers, you need higher math." - Hobbes
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>
>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>
>
============================================
Don Nelson
Regional Consulting Manager - Rocky Mountain Region
Forte Software, Inc.
Denver, CO
Phone: 303-265-7709
Corporate voice mail: 510-986-3810
aka: [email protected]
============================================
"When you deal with higher numbers, you need higher math." - Hobbes
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>Don,
You are absolutely correct. But this is where I honestly think you are
missing the point. While the mail program sends the mail, my mail message
has an interface (i.e. send button) which can delegate that to the mail
program. This makes it nice and simple for me the consumer of the mail
program. It also means I can think of mailing by focusing on the interface
(i.e. the button). It would suck if every time I wanted to mail something I
had to identify the correct pop server to send it to (i.e the MailManager).
Mailing something is the collaboration of the setup information of the mail
program and my mail message. If I were to model this my mail object would
indeed have a send method that could delegate to the correct mail servers.
This is just simplicity of interface and it is a good practice in UI
development just as it is in business model development. A simpler
interface, I think we can all agree, provides for a better and quicker
understanding.
Mark Perreira
Sage IT Partners.
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of Don Nelson
Sent: Thursday, June 18, 1998 9:22 AM
To: Nick Willson
Cc: [email protected]
Subject: Re: Polymorphism - retrieving type information from the
database
Nick,
It turns out that your message does not, indeed send itself. Your mailing
program does that.
Don
At 11:54 PM 6/17/98 -0700, Nick Willson wrote:
Hey Don,
In the real world, no, you can't tell an invoice to put itself into anenvelope
and mail itself. You have to know about stamps and post boxes and wherethey
are located. But isn't it nice that in software you don't have to followthe
real world very closely if you don't want to?
Above the top left hand corner of this message I'm typing right now, thereis a
send button which lets me tell the message to 'stuff itself into anenvelope
and mail itself'. Why wouldn't you want to do that?
Don Nelson wrote:
This thread is switching context a bit, but I would add one thought to
the
idea of encapsulating behavior. One of the advantages to OO is that it
helps us model real world behavior. In the real world, I would not askan
invoice to stuff itself into an envelope and mail itself to its customer;I
would not ask my vehicle to fuel itself or change its own oil; I wouldnot
tell an egg carton to ask one of its eggs to fry itself. Even if these
things were physically feasible, I could list a number of reasons why I
still wouldn't want to do them. That is why we haveVehicleRepairManagers
and SustenancePreparationManagers (aka, "Mechanics" and "Cooks").
Don
At 11:28 PM 6/15/98 -0700, Nick Willson wrote:
Tim,
You've had lots of good suggestions so I hope you won't mind an attempt
at another one. The consensus seems to be for your option (1) for the
Vehicle table, and Steve's example of a GenericConstraint (taking the
place of your Vehicle) is probably how most people would go about
answering your question. I don't have much to add to that, just wanted
to offer something about where the persistence mechanism lives and how
things look to clients that depend on it.
Suppose for a moment you think about the Vehicle classes' persistence as
being just one aspect of their behavior. In addition to persistence,
you might have to implement security, or locking for concurrent access,
or caching of vehicle objects to improve performance, and of course you
want to calculate the vehicle tax and probably do other things with
Vehicles too.
You can put the persistence aspect of Vehicles into a
PersistenceObjectManager, but then the others need somewhere too. If
you use a bunch of Managers (one for security, one for locking...) then
each class's behavior is scattered across these various Manager classes,
each of which has to know about many classes. Or if you use one Manager
class, it's going to know still more, plus you are forced to implement
all the behavior in (or at least via) that manager's partition.
An alternative would be to keep all the Vehicle classes' behavior
encapsulated together, so a client always makes requests to a Vehicle,
and the Vehicle delegates the implementation of requests to a chain of
handler objects that hang off the vehicle object (a handler for
security, another for persistence, and so on).
One of the nice things about this is, the handlers can be responsible
for going to another partition (if necessary), e.g. to perform
persistence operations, or for more business-specific operations like
tax calculations. And because the handlers are smart, you don't have to
put a lot of code into service objects, the SOs can stay pretty simple.
This isn't an approach you'll see in Express, so I hope of it's of some
interest.
General wrote:
Part 1.1 Type: Plain Text (text/plain)
Encoding: quoted-printable--
Nick Willson
SCAFFOLDS Consultant,
Sage IT Partners, Inc.
(415) 392 7243 x 373
[email protected]
The Leaders in Internet Enabled Enterprise Computing
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>>
>>>
>>
============================================
Don Nelson
Regional Consulting Manager - Rocky Mountain Region
Forte Software, Inc.
Denver, CO
Phone: 303-265-7709
Corporate voice mail: 510-986-3810
aka: [email protected]
============================================
"When you deal with higher numbers, you need higher math." - Hobbes--
Nick
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href="http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>
>
============================================
Don Nelson
Regional Consulting Manager - Rocky Mountain Region
Forte Software, Inc.
Denver, CO
Phone: 303-265-7709
Corporate voice mail: 510-986-3810
aka: [email protected]
============================================
"When you deal with higher numbers, you need higher math." - Hobbes
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
Maybe you are looking for
-
Hi, I created a script to grab the data from a view in database and export to cvs file. However, the column head name cannot be exported. Here is my code: set NEWPAGE 0 set SPACE 0 set LINESIZE 10000 set FEEDBACK Off set PAGESIZE 0 set verify off set
-
StringTokenizer not working as I was expecting
Hi all, I have a question related to StringTokenizer class. It is not giving me the results I was expecting. May be my understanding is wrong. This is my code: String string = null; String delimiter = null; StringTokenizer tokenizer = null; string =
-
Filter over hierachary level.
Hi , How can i apply filter to hierarchical column in obiee 11g? Thanks-Bhaskar
-
Opened FCP Clip In STP . . . Now How Do I Add Audio Tracks?
I have opened an FCP 6 video clip in STP and the video and 2 audio tracks are facing me. I want to get rid of the clip's audio tracks and replace them with tracks on which I am going to create a musical background. I am not concerned about deleting t
-
Dispatch Event for loaded Netconnection datas
Hi All! I made a manager component to retrieve data from database through amfphp. When the datas are loaded at the end of the "onResult" function, I dispatch an event "contactLoader" Another parent mxml component has an instance of my manager compone